sbMockCDService Class Reference
Inheritance diagram for sbMockCDService:
[legend]
Collaboration diagram for sbMockCDService:
[legend]

Public Member Functions

 sbMockCDService ()
 
virtual ~sbMockCDService ()
 
NS_DECL_ISUPPORTS
NS_DECL_SBICDDEVICESERVICE
NS_DECL_SBIMOCKCDDEVICECONTROLLER
nsresult 
Init ()
 
- Public Member Functions inherited from sbICDDeviceService
sbICDDevice getDevice (in long deviceIndex)
 
sbICDDevice getDeviceFromIdentifier (in ACString aDeviceIdentifier)
 
nsISimpleEnumerator getCDDevices ()
 
void registerListener (in sbICDDeviceListener listener)
 
void removeListener (in sbICDDeviceListener listener)
 
- Public Member Functions inherited from sbIMockCDDeviceController
void insertMedia (in sbICDDevice aCDDevice, in unsigned short aMediaDisc)
 
void ejectMedia (in sbICDDevice aCDDevice)
 
void notifyEject (in sbICDDevice aCDDevice)
 

Protected Attributes

nsCOMArray< sbICDDeviceListenermListeners
 
nsCOMArray< sbICDDevicemDevices
 

Additional Inherited Members

- Public Attributes inherited from sbICDDeviceService
readonly attribute long weight
 
readonly attribute long nbDevices
 
- Public Attributes inherited from sbIMockCDDeviceController
const unsigned short MOCK_MEDIA_DISC_MIDNIGHT_ROCK = 0
 
const unsigned short MOCK_MEDIA_DISC_BABY_ONE_MORE_TIME = 1
 
const unsigned short MOCK_MEDIA_DISC_U2 = 2
 
const unsigned short MOCK_MEDIA_DISC_INCREDIBAD = 3
 
const unsigned short MOCK_MEDIA_DISC_INSTANT_JUNK = 4
 

Detailed Description

Definition at line 650 of file sbMockCDDevice.cpp.

Constructor & Destructor Documentation

sbMockCDService::sbMockCDService ( )
sbMockCDService::~sbMockCDService ( )
virtual

Definition at line 677 of file sbMockCDDevice.cpp.

Member Function Documentation

nsresult sbMockCDService::Init ( )

Definition at line 682 of file sbMockCDDevice.cpp.

Member Data Documentation

nsCOMArray<sbICDDevice> sbMockCDService::mDevices
protected

Definition at line 665 of file sbMockCDDevice.cpp.

nsCOMArray<sbICDDeviceListener> sbMockCDService::mListeners
protected

Definition at line 664 of file sbMockCDDevice.cpp.


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