sbLibraryChangeset.h File Reference

sbLibraryChangeset Definition. More...

#include <sbILibraryChangeset.h>
#include <nsIArray.h>
#include <nsIClassInfo.h>
#include <sbIMediaItem.h>
#include <nsCOMPtr.h>
#include <nsStringGlue.h>
Include dependency graph for sbLibraryChangeset.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sbPropertyChange
 

Macros

#define SB_PROPERTY_CHANGE_IID   { 0x2cb3d75f, 0xfd37, 0x4ae0, { 0xa7, 0xf1, 0xe8, 0x5c, 0x7b, 0xb9, 0xd1, 0x7b } }
 
#define SB_LIBRARY_CHANGE_IID   { 0x681aebb6, 0xa22c, 0x491f, { 0x9b, 0xc1, 0xc0, 0xa6, 0x2, 0x1d, 0xee, 0xc5 } }
 
#define SB_LIBRARY_CHANGESET_IID   { 0x4597d14e, 0x4130, 0x4438, { 0xb7, 0xbd, 0x5d, 0x9c, 0x1b, 0x8c, 0xb7, 0x7b } }
 

Functions

NS_DEFINE_STATIC_IID_ACCESSOR(sbPropertyChange,{0x2cb3d75f, 0xfd37, 0x4ae0,{0xa7, 0xf1, 0xe8, 0x5c, 0x7b, 0xb9, 0xd1, 0x7b}}) class sbLibraryChange nsresult InitWithValues (PRUint32 aOperation, PRUint64 aTimestamp, sbIMediaItem *aSourceItem, sbIMediaItem *aDestinationItem, nsIArray *aProperties, nsIArray *aListItems)
 
nsresult SetOperation (PRUint32 aOperation)
 
nsresult SetTimestamp (PRUint64 aTimestamp)
 
nsresult SetItems (sbIMediaItem *aSourceItem, sbIMediaItem *aDestinationItem)
 
nsresult SetProperties (nsIArray *aProperties)
 
nsresult SetListItems (nsIArray *aProperties)
 
NS_DEFINE_STATIC_IID_ACCESSOR(sbLibraryChange,{0x681aebb6, 0xa22c, 0x491f,{0x9b, 0xc1, 0xc0, 0xa6, 0x2, 0x1d, 0xee, 0xc5}}) class sbLibraryChangeset nsresult InitWithValues (nsIArray *aSourceLists, sbIMediaList *aDestinationList, nsIArray *aChanges)
 
nsresult SetSourceLists (nsIArray *aSourceLists)
 
nsresult SetDestinationList (sbIMediaList *aDestinationList)
 

Variables

PRUint32 mOperation
 
PRUint64 mTimestamp
 
nsCOMPtr< sbIMediaItemmSourceItem
 
nsCOMPtr< sbIMediaItemmDestinationItem
 
nsCOMPtr< nsIArray > mProperties
 
nsCOMPtr< nsIArray > mListItems
 
nsCOMPtr< nsIArray > mSourceLists
 
nsCOMPtr< sbIMediaListmDestinationList
 
nsCOMPtr< nsIArray > mChanges
 

Detailed Description

sbLibraryChangeset Definition.

Definition in file sbLibraryChangeset.h.

Macro Definition Documentation

#define SB_LIBRARY_CHANGE_IID   { 0x681aebb6, 0xa22c, 0x491f, { 0x9b, 0xc1, 0xc0, 0xa6, 0x2, 0x1d, 0xee, 0xc5 } }

Definition at line 45 of file sbLibraryChangeset.h.

#define SB_LIBRARY_CHANGESET_IID   { 0x4597d14e, 0x4130, 0x4438, { 0xb7, 0xbd, 0x5d, 0x9c, 0x1b, 0x8c, 0xb7, 0x7b } }

Definition at line 48 of file sbLibraryChangeset.h.

#define SB_PROPERTY_CHANGE_IID   { 0x2cb3d75f, 0xfd37, 0x4ae0, { 0xa7, 0xf1, 0xe8, 0x5c, 0x7b, 0xb9, 0xd1, 0x7b } }

Definition at line 42 of file sbLibraryChangeset.h.

Function Documentation

NS_DEFINE_STATIC_IID_ACCESSOR (sbPropertyChange, { 0x2cb3d75f, 0xfd37, 0x4ae0, { 0xa7, 0xf1, 0xe8, 0x5c, 0x7b, 0xb9, 0xd1, 0x7b } } ) class sbLibraryChange nsresult InitWithValues ( PRUint32  aOperation,
PRUint64  aTimestamp,
sbIMediaItem aSourceItem,
sbIMediaItem aDestinationItem,
nsIArray *  aProperties,
nsIArray *  aListItems 
)
NS_DEFINE_STATIC_IID_ACCESSOR (sbLibraryChange, { 0x681aebb6, 0xa22c, 0x491f, { 0x9b, 0xc1, 0xc0, 0xa6, 0x2, 0x1d, 0xee, 0xc5 } } ) class sbLibraryChangeset nsresult InitWithValues ( nsIArray *  aSourceLists,
sbIMediaList aDestinationList,
nsIArray *  aChanges 
)
protected
nsresult sbLibraryChangeset::SetDestinationList ( sbIMediaList aDestinationList)
protected

Definition at line 389 of file sbLibraryChangeset.cpp.

nsresult sbLibraryChange::SetItems ( sbIMediaItem aSourceItem,
sbIMediaItem aDestinationItem 
)

Definition at line 218 of file sbLibraryChangeset.cpp.

nsresult sbLibraryChange::SetListItems ( nsIArray *  aProperties)

Definition at line 211 of file sbLibraryChangeset.cpp.

nsresult SetOperation ( PRUint32  aOperation)
nsresult SetProperties ( nsIArray *  aProperties)
nsresult sbLibraryChangeset::SetSourceLists ( nsIArray *  aSourceLists)
protected

Definition at line 380 of file sbLibraryChangeset.cpp.

nsresult sbLibraryChange::SetTimestamp ( PRUint64  aTimestamp)

Definition at line 204 of file sbLibraryChangeset.cpp.

Variable Documentation

nsCOMPtr<nsIArray> mChanges

Definition at line 161 of file sbLibraryChangeset.h.

nsCOMPtr<sbIMediaItem> mDestinationItem

Definition at line 126 of file sbLibraryChangeset.h.

nsCOMPtr<sbIMediaList> mDestinationList

Definition at line 159 of file sbLibraryChangeset.h.

nsCOMPtr<nsIArray> mListItems

Definition at line 129 of file sbLibraryChangeset.h.

PRUint32 mOperation

Definition at line 121 of file sbLibraryChangeset.h.

nsCOMPtr<nsIArray> mProperties

Definition at line 128 of file sbLibraryChangeset.h.

nsCOMPtr<sbIMediaItem> mSourceItem

Definition at line 125 of file sbLibraryChangeset.h.

nsCOMPtr<nsIArray> mSourceLists

Definition at line 157 of file sbLibraryChangeset.h.

PRUint64 mTimestamp

Definition at line 123 of file sbLibraryChangeset.h.