Songbird iPod Device Utility Source. More...
#include "sbIPDUtils.h"
#include <nsServiceManagerUtils.h>
#include <sbIDeviceEvent.h>
#include <sbIDeviceEventTarget.h>
#include <sbIDeviceManager.h>
Go to the source code of this file.
Functions | |
nsresult | CreateAndDispatchDeviceManagerEvent (PRUint32 aType, nsIVariant *aData, nsISupports *aOrigin, PRUint32 aDeviceState, PRBool aAsync) |
Songbird iPod Device Utility Source.
Definition in file sbIPDUtils.cpp.
nsresult CreateAndDispatchDeviceManagerEvent | ( | PRUint32 | aType, |
nsIVariant * | aData, | ||
nsISupports * | aOrigin, | ||
PRUint32 | aDeviceState, | ||
PRBool | aAsync | ||
) |
Create and dispatch an event through the device manager of the type specified by aType with the data specified by aData, originating from the object specified by aOrigin. If aAsync is true, dispatch and return immediately; otherwise, wait for the event handling to complete. aData, aOrigin, and aAsync are all optional. Default is to dispatch synchronously.
aType | Type of event. |
aData | Event data. |
aOrigin | Origin of event. |
aDeviceState | State of the device |
aAsync | If true, dispatch asynchronously. |
Definition at line 72 of file sbIPDUtils.cpp.