sbLibHalCtx Class Reference

#include <sbLibHal.h>

Public Member Functions

 sbLibHalCtx ()
 
virtual ~sbLibHalCtx ()
 
nsresult Initialize ()
 
nsresult SetUserData (void *aUserData)
 
nsresult GetAllDevices (nsCStringArray &aDeviceList)
 
nsresult DevicePropertyExists (const nsACString &aUDI, const char *aKey, PRBool *apExists)
 
nsresult DeviceGetPropertyString (const nsACString &aUDI, const char *aKey, nsCString &aProperty)
 
nsresult DeviceGetPropertyInt (const nsACString &aUDI, const char *aKey, PRUint32 *aProperty)
 
nsresult DeviceGetPropertyBool (const nsACString &aUDI, const char *aKey, PRBool *aProperty)
 
nsresult DeviceGetPropertyStringList (const nsACString &aUDI, const char *aKey, nsTArray< nsCString > &aProperty)
 
nsresult SetDeviceAdded (LibHalDeviceAdded aCallback)
 
nsresult SetDeviceRemoved (LibHalDeviceRemoved aCallback)
 
nsresult SetDevicePropertyModified (LibHalDevicePropertyModified aCallback)
 
nsresult DevicePropertyWatchAll ()
 
nsresult DeviceHasInterface (const nsACString &aUDI, const char *aInterface, PRBool *aHasInterface)
 
nsresult DeviceVolumeEject (nsCString &aDeviceUDI)
 
nsresult DeviceVolumeUnmount (nsCString &aDeviceUDI)
 

Detailed Description

Definition at line 68 of file sbLibHal.h.

Constructor & Destructor Documentation

sbLibHalCtx::sbLibHalCtx ( )

Definition at line 65 of file sbLibHal.cpp.

sbLibHalCtx::~sbLibHalCtx ( )
virtual

Definition at line 80 of file sbLibHal.cpp.

Member Function Documentation

nsresult sbLibHalCtx::DeviceGetPropertyBool ( const nsACString &  aUDI,
const char *  aKey,
PRBool *  aProperty 
)

Definition at line 399 of file sbLibHal.cpp.

Here is the caller graph for this function:

nsresult sbLibHalCtx::DeviceGetPropertyInt ( const nsACString &  aUDI,
const char *  aKey,
PRUint32 *  aProperty 
)

Definition at line 353 of file sbLibHal.cpp.

nsresult sbLibHalCtx::DeviceGetPropertyString ( const nsACString &  aUDI,
const char *  aKey,
nsCString &  aProperty 
)

Definition at line 306 of file sbLibHal.cpp.

Here is the caller graph for this function:

nsresult sbLibHalCtx::DeviceGetPropertyStringList ( const nsACString &  aUDI,
const char *  aKey,
nsTArray< nsCString > &  aProperty 
)

Definition at line 445 of file sbLibHal.cpp.

Here is the caller graph for this function:

nsresult sbLibHalCtx::DeviceHasInterface ( const nsACString &  aUDI,
const char *  aInterface,
PRBool *  aHasInterface 
)

Definition at line 623 of file sbLibHal.cpp.

Here is the call graph for this function:

nsresult sbLibHalCtx::DevicePropertyExists ( const nsACString &  aUDI,
const char *  aKey,
PRBool *  apExists 
)

Definition at line 247 of file sbLibHal.cpp.

Here is the caller graph for this function:

nsresult sbLibHalCtx::DevicePropertyWatchAll ( )

Definition at line 575 of file sbLibHal.cpp.

nsresult sbLibHalCtx::DeviceVolumeEject ( nsCString &  aDeviceUDI)

Definition at line 679 of file sbLibHal.cpp.

Here is the caller graph for this function:

nsresult sbLibHalCtx::DeviceVolumeUnmount ( nsCString &  aDeviceUDI)

Definition at line 697 of file sbLibHal.cpp.

Here is the caller graph for this function:

nsresult sbLibHalCtx::GetAllDevices ( nsCStringArray &  aDeviceList)

Definition at line 190 of file sbLibHal.cpp.

nsresult sbLibHalCtx::Initialize ( )

Definition at line 101 of file sbLibHal.cpp.

Here is the caller graph for this function:

nsresult sbLibHalCtx::SetDeviceAdded ( LibHalDeviceAdded  aCallback)

Definition at line 501 of file sbLibHal.cpp.

nsresult sbLibHalCtx::SetDevicePropertyModified ( LibHalDevicePropertyModified  aCallback)

Definition at line 551 of file sbLibHal.cpp.

nsresult sbLibHalCtx::SetDeviceRemoved ( LibHalDeviceRemoved  aCallback)

Definition at line 526 of file sbLibHal.cpp.

nsresult sbLibHalCtx::SetUserData ( void *  aUserData)

Definition at line 168 of file sbLibHal.cpp.


The documentation for this class was generated from the following files: