VirtualBox Main API
|
Base abstract interface for veto events. More...
Public Member Functions | |
void | addVeto (in wstring reason) |
Adds a veto on this event. | |
void | isVetoed ([retval] out boolean result) |
If this event was vetoed. | |
void | getVetos ([retval] out wstring[] result) |
Current veto reason list, if size is 0 - no veto. | |
![]() | |
void | setProcessed () |
Internal method called by the system when all listeners of a particular event have called IEventSource::eventProcessed. | |
void | waitProcessed (in long timeout,[retval] out boolean result) |
Wait until time outs, or this event is processed. |
Additional Inherited Members | |
![]() | |
readonly attribute VBoxEventType | type |
Event type. | |
readonly attribute IEventSource | source |
Source of this event. | |
readonly attribute boolean | waitable |
If we can wait for this event being processed. |
Base abstract interface for veto events.
{9A1A4130-69FE-472F-AC10-C6FA25D75007}
void IVetoEvent::addVeto | ( | in wstring | reason | ) |
Adds a veto on this event.
reason | Reason for veto, could be null or empty string. |
void IVetoEvent::isVetoed | ( | [retval] out boolean | result | ) |
If this event was vetoed.
result | Reason for veto. |
void IVetoEvent::getVetos | ( | [retval] out wstring[] | result | ) |
Current veto reason list, if size is 0 - no veto.
result | Array of reasons for veto provided by different event handlers. |