Songbird iPod Device Definitions.
More...
#include "sbIPDLibrary.h"
#include "sbIPDProperties.h"
#include "sbIPDStatus.h"
#include <sbBaseDevice.h>
#include <sbDeviceCapabilities.h>
#include <sbIDatabaseQuery.h>
#include <sbIDeviceContent.h>
#include <sbIDeviceLibrary.h>
#include <sbILibraryManager.h>
#include <sbIPropertyArray.h>
#include <sbIPropertyManager.h>
#include <sbLibraryListenerHelpers.h>
#include <nsIClassInfo.h>
#include <nsIFileProtocolHandler.h>
#include <nsIRunnable.h>
#include <nsIStringBundle.h>
#include <nsIThread.h>
#include <nsTArray.h>
#include <prrwlock.h>
#include <map>
#include <vector>
#include <itdb.h>
Go to the source code of this file.
|
| SB_AUTO_CLASS (sbIPDAutoDBFlush, sbIPDDevice *, mValue, mValue->DBFlush(), mValue=nsnull) |
|
| SB_AUTO_CLASS (sbIPDAutoIdle, sbIPDDevice *, mValue, mValue->mIPDStatus->Idle(), mValue=nsnull) |
|
| SB_AUTO_CLASS2 (sbIPDAutoTrack, Itdb_Track *, sbIPDDevice *, mValue, mValue2->DeleteTrack(mValue), mValue=NULL) |
|
| SB_AUTO_CLASS (sbIPDAutoStopIgnoreLibrary, sbBaseDeviceLibraryListener *, mValue, mValue->SetIgnoreListener(PR_FALSE), mValue=nsnull) |
|
| SB_AUTO_CLASS (sbIPDAutoStopIgnoreMediaLists, sbIPDDevice *, mValue, mValue->SetIgnoreMediaListListeners(PR_FALSE), mValue=nsnull) |
|
| SB_AUTO_CLASS (sbIPDAutoFalse, PRBool *, mValue,*mValue=PR_FALSE, mValue=nsnull) |
|
Songbird iPod Device Definitions.
Definition in file sbIPDDevice.h.
#define IPOD_LOCALE_BUNDLE_PATH "chrome://ipod/locale/IPodDevice.properties" |
#define IPOD_STATS_UPDATE_PERIOD 500 |
Define a class with the name specified by aName to automatically invoke the sbIPDDevice method specified by aMethod upon scope exit.
- Parameters
-
aName | Name of class. |
aMethod | Method invocation. |
Example: SB_IPD_DEVICE_AUTO_INVOKE(AutoDisconnect, PrefDisconnect()) autoDisconnect(this);
This example will call PrefDisconnect() when exiting the scope. This may be cancelled by calling autoDisconnect.forget().
Definition at line 1179 of file sbIPDDevice.h.
SB_AUTO_CLASS |
( |
sbIPDAutoDBFlush |
, |
|
|
sbIPDDevice * |
, |
|
|
mValue |
, |
|
|
mValue-> |
DBFlush(), |
|
|
mValue |
= nsnull |
|
) |
| |
Auto-disposal class wrappers.
sbIPDAutoDBFlush Wrapper to auto-flush the iPod database. sbIPDAutoIdle Wrapper to auto idle the iPod device. sbIPDAutoTrack Wrapper to auto delete track from the iPod device. First constructor parameter is track and the second is the iPod device object. sbIPDAutoStopIgnoreLibrary Wrapper to auto stop ignoring library changes. sbIPDAutoStopIgnoreMediaLists Wrapper to auto stop ignoring media list changes. sbIPDAutoFalse Wrapper to automatically set a boolean to false.
SB_AUTO_CLASS |
( |
sbIPDAutoIdle |
, |
|
|
sbIPDDevice * |
, |
|
|
mValue |
, |
|
|
mValue->mIPDStatus-> |
Idle(), |
|
|
mValue |
= nsnull |
|
) |
| |
SB_AUTO_CLASS |
( |
sbIPDAutoStopIgnoreLibrary |
, |
|
|
sbBaseDeviceLibraryListener * |
, |
|
|
mValue |
, |
|
|
mValue-> |
SetIgnoreListenerPR_FALSE, |
|
|
mValue |
= nsnull |
|
) |
| |
SB_AUTO_CLASS |
( |
sbIPDAutoStopIgnoreMediaLists |
, |
|
|
sbIPDDevice * |
, |
|
|
mValue |
, |
|
|
mValue-> |
SetIgnoreMediaListListenersPR_FALSE, |
|
|
mValue |
= nsnull |
|
) |
| |
SB_AUTO_CLASS |
( |
sbIPDAutoFalse |
, |
|
|
PRBool * |
, |
|
|
mValue |
, |
|
|
* |
mValue = PR_FALSE , |
|
|
mValue |
= nsnull |
|
) |
| |
SB_AUTO_CLASS2 |
( |
sbIPDAutoTrack |
, |
|
|
Itdb_Track * |
, |
|
|
sbIPDDevice * |
, |
|
|
mValue |
, |
|
|
mValue2-> |
DeleteTrackmValue, |
|
|
mValue |
= NULL |
|
) |
| |
const char* sbIPDSupportedAudioMediaList[] |
PRUint32 sbIPDSupportedAudioMediaListLength |
const char* sbIPDSupportedMediaList[] |
PRUint32 sbIPDSupportedMediaListLength |