sbBaseDevice.h File Reference
#include <algorithm>
#include <list>
#include <map>
#include <vector>
#include "sbIDevice.h"
#include "sbBaseDeviceEventTarget.h"
#include "sbBaseDeviceVolume.h"
#include "sbDeviceLibrary.h"
#include <nsArrayUtils.h>
#include <nsAutoPtr.h>
#include <nsClassHashtable.h>
#include <nsCOMPtr.h>
#include <nsCOMArray.h>
#include <nsDataHashtable.h>
#include <nsIRunnable.h>
#include <nsISupportsImpl.h>
#include <nsITimer.h>
#include <nsIFile.h>
#include <nsIURL.h>
#include <nsTArray.h>
#include <sbAutoRWLock.h>
#include <sbILibraryChangeset.h>
#include <sbIMediaItem.h>
#include <sbIMediaList.h>
#include "sbRequestItem.h"
#include "sbDeviceRequestThreadQueue.h"
#include <sbITemporaryFileFactory.h>
#include <sbITranscodeManager.h>
#include <sbMemoryUtils.h>
#include <nsComponentManagerUtils.h>
#include "sbDeviceStatistics.h"
Include dependency graph for sbBaseDevice.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sbBaseDevice
 
struct  sbBaseDevice::TransferRequest
 
struct  sbBaseDevice::EnumerateFinalizeMediaListListenersInfo
 
struct  sbBaseDevice::OrganizeData
 
class  sbBaseDevice::AutoListenerIgnore
 

Macros

#define SB_DEVICE_PROPERTY_NS   "http://songbirdnest.com/device/1.0"
 
#define SB_SYNC_PARTNER_PREF   NS_LITERAL_STRING("SyncPartner")
 

Functions

void SBWriteRequestSplitBatches (const sbBaseDevice::Batch &aInput, sbBaseDevice::Batch &aNonTranscodeItems, sbBaseDevice::Batch &aTrancodeItems, sbBaseDevice::Batch &aPlaylistItems)
 
 SB_AUTO_NULL_CLASS (sbAutoResetEnsureSpaceChecked, sbBaseDevice *, mValue->SetEnsureSpaceChecked(false))
 

Macro Definition Documentation

#define SB_DEVICE_PROPERTY_NS   "http://songbirdnest.com/device/1.0"

Definition at line 85 of file sbBaseDevice.h.

#define SB_SYNC_PARTNER_PREF   NS_LITERAL_STRING("SyncPartner")

Definition at line 87 of file sbBaseDevice.h.

Function Documentation

SB_AUTO_NULL_CLASS ( sbAutoResetEnsureSpaceChecked  ,
sbBaseDevice ,
mValue->  SetEnsureSpaceCheckedfalse 
)
void SBWriteRequestSplitBatches ( const sbBaseDevice::Batch aInput,
sbBaseDevice::Batch aNonTranscodeItems,
sbBaseDevice::Batch aTranscodeItems,
sbBaseDevice::Batch aPlaylistItems 
)

Split out a batch into three separate batches so that items are processed in proper order and the status reporting system reports status properly.

Definition at line 6615 of file sbBaseDevice.cpp.

Here is the call graph for this function: