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 | addApproval (in wstring reason) |
Adds an approval on this event. | |
void | isApproved ([retval] out boolean result) |
If this event was approved. | |
void | getApprovals ([retval] out wstring[] result) |
Current approval reason list, if size is 0 - no approvals. | |
Public Member Functions inherited from IEvent | |
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 | |
Public Attributes inherited from IEvent | |
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.
{7C5E945F-2354-4267-883F-2F417D216519}
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. |
void IVetoEvent::addApproval | ( | in wstring | reason | ) |
Adds an approval on this event.
reason | Reason for approval, could be null or empty string. |
void IVetoEvent::isApproved | ( | [retval] out boolean | result | ) |
If this event was approved.
void IVetoEvent::getApprovals | ( | [retval] out wstring[] | result | ) |
Current approval reason list, if size is 0 - no approvals.
result | Array of reasons for approval provided by different event handlers. |