sbLocalDatabaseMediaListBase.h File Reference
#include "sbLocalDatabaseMediaItem.h"
#include "sbLocalDatabaseMediaListListener.h"
#include <nsIClassInfo.h>
#include <nsIStringEnumerator.h>
#include <sbILocalDatabaseGUIDArray.h>
#include <sbIMediaList.h>
#include <nsClassHashtable.h>
#include <nsCOMPtr.h>
#include <nsStringGlue.h>
#include <nsTArray.h>
#include <nsTHashtable.h>
#include <prmon.h>
#include <prlock.h>
Include dependency graph for sbLocalDatabaseMediaListBase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sbLocalDatabaseMediaListBase
 
class  sbAutoBatchHelper
 Simple class to make sure we notify listeners that a batch operation has completed every time they are notified that a batch operation has begun. More...
 
class  sbGUIDArrayValueEnumerator
 

Macros

#define SB_CONTINUE_IF_FALSE(_expr)
 
#define SB_CONTINUE_IF_FAILED(_rv)   SB_CONTINUE_IF_FALSE(NS_SUCCEEDED(_rv))
 
#define SB_MEDIALIST_LOCK_FULLARRAY_AND_ENSURE_MUTABLE()
 
#define SB_ASYNC_NOTIFICATION_ITEMS   50
 

Macro Definition Documentation

#define SB_ASYNC_NOTIFICATION_ITEMS   50

Definition at line 66 of file sbLocalDatabaseMediaListBase.h.

#define SB_CONTINUE_IF_FAILED (   _rv)    SB_CONTINUE_IF_FALSE(NS_SUCCEEDED(_rv))

Definition at line 52 of file sbLocalDatabaseMediaListBase.h.

#define SB_CONTINUE_IF_FALSE (   _expr)
Value:
if (!(_expr)) { \
NS_WARNING("SB_CONTINUE_IF_FALSE triggered"); \
continue; \
} \
PR_END_MACRO
if(DEBUG_DATAREMOTES)

Definition at line 44 of file sbLocalDatabaseMediaListBase.h.

#define SB_MEDIALIST_LOCK_FULLARRAY_AND_ENSURE_MUTABLE ( )
Value:
PR_BEGIN_MACRO \
nsAutoMonitor mon(mFullArrayMonitor); \
if (mLockedEnumerationActive) { \
NS_ERROR("Operation not permitted during a locked enumeration"); \
return NS_ERROR_FAILURE; \
} \
PR_END_MACRO
return
Definition: FeedWriter.js:850
if(DEBUG_DATAREMOTES)

Definition at line 57 of file sbLocalDatabaseMediaListBase.h.