sbIPDUtils.cpp File Reference

Songbird iPod Device Utility Source. More...

#include "sbIPDUtils.h"
#include <nsServiceManagerUtils.h>
#include <sbIDeviceEvent.h>
#include <sbIDeviceEventTarget.h>
#include <sbIDeviceManager.h>
Include dependency graph for sbIPDUtils.cpp:

Go to the source code of this file.

Functions

nsresult CreateAndDispatchDeviceManagerEvent (PRUint32 aType, nsIVariant *aData, nsISupports *aOrigin, PRUint32 aDeviceState, PRBool aAsync)
 

Detailed Description

Songbird iPod Device Utility Source.

Definition in file sbIPDUtils.cpp.

Function Documentation

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.

Parameters
aTypeType of event.
aDataEvent data.
aOriginOrigin of event.
aDeviceStateState of the device
aAsyncIf true, dispatch asynchronously.

Definition at line 72 of file sbIPDUtils.cpp.