sbICDDevice Interface Reference

Songbird CDDevice Interface. More...

List of all members.

Public Member Functions

PRBool getWritableCDDrive (out AString aDeviceString)
 Finds the first CD device capable of writing.
PRBool onCDDriveEvent (in PRBool aMediaInserted)
 Allows OS-specific drive event notification.
PRBool setGapBurnedTrack (in AString aDeviceString, in PRUint32 aNumSeconds)
 Set the amount of time to insert between burned tracks.


Detailed Description

Songbird CDDevice Interface.

<TODO: Detail>.

See also:
sbIDeviceBase.idl

Definition at line 45 of file sbICDDevice.idl.


Member Function Documentation

PRBool sbICDDevice::getWritableCDDrive ( out AString  aDeviceString  ) 

Finds the first CD device capable of writing.

<TODO: Detail>

Parameters:
aDeviceString [out AString] A string describing the writable device.
Returns:
[PRBool] A nice boolean value indicating success or failure.

PRBool sbICDDevice::onCDDriveEvent ( in PRBool  aMediaInserted  ) 

Allows OS-specific drive event notification.

This method is provided so that on Windows, OS specific message for a media insert or eject can be passed to sbICDDevice object (note that caller should use sbIDeviceManager in obtaining sbICDDevice object and not instantiate sbICDDevice directly, same applies to all other devices).

Parameters:
aMediaInserted [in PRBool] A boolean indicating whether media was inserted or not.
Returns:
[PRBool] A nice boolean value indicating success or failure.

PRBool sbICDDevice::setGapBurnedTrack ( in AString  aDeviceString,
in PRUint32  aNumSeconds 
)

Set the amount of time to insert between burned tracks.

<TODO: Detail>

Parameters:
aDeviceString [in AString] A string describing the device.
aNumSeconds [in PRUint32] The number of seconds to insert.
Returns:
[PRBool] A nice boolean value indicating success or failure.


The documentation for this interface was generated from the following file:
Generated on Mon Aug 21 21:01:55 2006 for Songbird by  doxygen 1.4.7