sbLibraryChangeset Definition.
More...
#include <sbILibraryChangeset.h>
#include <nsIArray.h>
#include <nsIClassInfo.h>
#include <sbIMediaItem.h>
#include <nsCOMPtr.h>
#include <nsStringGlue.h>
Go to the source code of this file.
|
| #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 } } |
| |
|
| 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) |
| |
sbLibraryChangeset Definition.
Definition in file sbLibraryChangeset.h.
| #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 } } |
| #define SB_PROPERTY_CHANGE_IID { 0x2cb3d75f, 0xfd37, 0x4ae0, { 0xa7, 0xf1, 0xe8, 0x5c, 0x7b, 0xb9, 0xd1, 0x7b } } |
| 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 |
| nsresult sbLibraryChange::SetListItems |
( |
nsIArray * |
aProperties | ) |
|
| nsresult SetOperation |
( |
PRUint32 |
aOperation | ) |
|
| nsresult SetProperties |
( |
nsIArray * |
aProperties | ) |
|
| nsresult sbLibraryChangeset::SetSourceLists |
( |
nsIArray * |
aSourceLists | ) |
|
|
protected |
| nsresult sbLibraryChange::SetTimestamp |
( |
PRUint64 |
aTimestamp | ) |
|
| nsCOMPtr<nsIArray> mChanges |
| nsCOMPtr<nsIArray> mListItems |
| nsCOMPtr<nsIArray> mProperties |
| nsCOMPtr<nsIArray> mSourceLists |