sbLocalDatabaseMediaListViewSelection.cpp File Reference
#include "sbLocalDatabaseMediaListViewSelection.h"
#include "sbLocalDatabaseMediaItem.h"
#include <sbStandardProperties.h>
#include <sbStringUtils.h>
#include <nsComponentManagerUtils.h>
#include <nsIClassInfoImpl.h>
#include <nsIObjectInputStream.h>
#include <nsIObjectOutputStream.h>
#include <nsIProgrammingLanguage.h>
#include <nsMemory.h>
Include dependency graph for sbLocalDatabaseMediaListViewSelection.cpp:

Go to the source code of this file.

Macros

#define NOTIFY_LISTENERS_INDIRECT(_obj, _method, _params)
 
#define NOTIFY_LISTENERS(_method, _params)   NOTIFY_LISTENERS_INDIRECT(this, _method, _params)
 
#define TRACE(args)   /* nothing */
 
#define LOG(args)   /* nothing */
 

Functions

 NS_IMPL_ISUPPORTS1 (sbLocalDatabaseMediaListViewSelection, sbIMediaListViewSelection) sbLocalDatabaseMediaListViewSelection
 
static nsresult IsContentTypeEqual (nsAString &aGuid, sbILibrary *aLibrary, const nsAString &aContentType, PRBool *aIsSame)
 
 NS_IMPL_ISUPPORTS1 (sbLocalDatabaseMediaListViewSelectionState, nsISerializable)
 
 NS_IMPL_THREADSAFE_ISUPPORTS2 (sbGUIDArrayToIndexedMediaItemEnumerator, nsISimpleEnumerator, nsIClassInfo) NS_IMPL_CI_INTERFACE_GETTER2(sbGUIDArrayToIndexedMediaItemEnumerator
 
 NS_IMPL_THREADSAFE_ISUPPORTS2 (sbIndexedGUIDArrayEnumerator, nsISimpleEnumerator, nsIClassInfo) NS_IMPL_CI_INTERFACE_GETTER2(sbIndexedGUIDArrayEnumerator
 
 NS_IMPL_THREADSAFE_ISUPPORTS2 (sbIndexedToUnindexedMediaItemEnumerator, nsISimpleEnumerator, nsIClassInfo) NS_IMPL_CI_INTERFACE_GETTER2(sbIndexedToUnindexedMediaItemEnumerator
 

Variables

 nsISimpleEnumerator
 

Macro Definition Documentation

#define LOG (   args)    /* nothing */
#define NOTIFY_LISTENERS (   _method,
  _params 
)    NOTIFY_LISTENERS_INDIRECT(this, _method, _params)
#define NOTIFY_LISTENERS_INDIRECT (   _obj,
  _method,
  _params 
)
Value:
if (!_obj->mSelectionNotificationsSuppressed) { \
sbObserverArray::ForwardIterator iter(_obj->mObservers); \
while (iter.HasMore()) { \
iter.GetNext()->_method _params; \
} \
} \
PR_END_MACRO
while((node=formNodes.iterateNext()))
if(DEBUG_DATAREMOTES)
#define TRACE (   args)    /* nothing */

Function Documentation

static nsresult IsContentTypeEqual ( nsAString &  aGuid,
sbILibrary aLibrary,
const nsAString &  aContentType,
PRBool *  aIsSame 
)
static

Definition at line 251 of file sbLocalDatabaseMediaListViewSelection.cpp.

NS_IMPL_THREADSAFE_ISUPPORTS2 ( sbGUIDArrayToIndexedMediaItemEnumerator  ,
nsISimpleEnumerator  ,
nsIClassInfo   
)
NS_IMPL_THREADSAFE_ISUPPORTS2 ( sbIndexedGUIDArrayEnumerator  ,
nsISimpleEnumerator  ,
nsIClassInfo   
)
NS_IMPL_THREADSAFE_ISUPPORTS2 ( sbIndexedToUnindexedMediaItemEnumerator  ,
nsISimpleEnumerator  ,
nsIClassInfo   
)

Variable Documentation

nsISimpleEnumerator

Definition at line 1020 of file sbLocalDatabaseMediaListViewSelection.cpp.