#include <sbRemoteLibraryResource.h>
Public Member Functions | |
NS_DECL_ISUPPORTS NS_IMETHOD | GetGuid (nsAString &aGuid) |
NS_IMETHOD | GetCreated (PRInt64 *aCreated) |
NS_IMETHOD | GetUpdated (PRInt64 *aUpdated) |
NS_IMETHOD | GetUserEditable (PRBool *aUserEditable) |
NS_IMETHOD | GetPropertyIDs (nsIStringEnumerator **aPropertyIDs) |
NS_IMETHOD | GetProperties (sbIPropertyArray *aPropertyIDs, sbIPropertyArray **_retval) |
NS_IMETHOD | Equals (sbILibraryResource *aOtherLibraryResource, PRBool *_retval) |
NS_IMETHOD | GetProperty (const nsAString &aID, nsAString &_retval) |
NS_IMETHOD | SetProperty (const nsAString &aID, const nsAString &aValue) |
NS_IMETHOD | SetProperties (sbIPropertyArray *aProperties) |
sbRemoteLibraryResource (sbRemotePlayer *aRemotePlayer, sbIMediaItem *aMediaItem) | |
virtual | ~sbRemoteLibraryResource () |
Public Member Functions inherited from sbILibraryResource | |
AString | getProperty (in AString aID) |
Get the value of a property of this resource. More... | |
void | setProperty (in AString aID, in AString aValue) |
Set the value of a property on this resource. More... | |
sbIPropertyArray | getProperties ([optional] in sbIPropertyArray aPropertyIDs) |
Get properties from this resource in a property array. More... | |
void | setProperties (in sbIPropertyArray aProperties) |
Sets the properties and values in the supplied property array to this resource. This works as if you called setProperty on each property in the array. More... | |
boolean | equals (in sbILibraryResource aOtherLibraryResource) |
Tests the equality of two library resources. More... | |
Protected Attributes | |
nsRefPtr< sbRemotePlayer > | mRemotePlayer |
nsCOMPtr< sbIMediaItem > | mMediaItem |
Additional Inherited Members | |
Public Attributes inherited from sbILibraryResource | |
readonly attribute AString | guid |
The guid of this resource. More... | |
readonly attribute long long | created |
The creation time of this resource as a unix timestamp. More... | |
readonly attribute long long | updated |
The last update time of this resource as a unix timestamp. More... | |
readonly attribute nsIStringEnumerator | propertyIDs |
Returns a string enumerator of the IDs of all the properties set on this resource. More... | |
readonly attribute boolean | userEditable |
True if users should be allowed to modify the resource. More... | |
Definition at line 44 of file sbRemoteLibraryResource.h.
sbRemoteLibraryResource::sbRemoteLibraryResource | ( | sbRemotePlayer * | aRemotePlayer, |
sbIMediaItem * | aMediaItem | ||
) |
|
virtual |
Definition at line 63 of file sbRemoteLibraryResource.cpp.
|
inline |
Definition at line 49 of file sbRemoteLibraryResource.h.
|
inline |
Definition at line 49 of file sbRemoteLibraryResource.h.
|
inline |
Definition at line 49 of file sbRemoteLibraryResource.h.
|
inline |
Definition at line 49 of file sbRemoteLibraryResource.h.
NS_IMETHODIMP sbRemoteLibraryResource::GetProperty | ( | const nsAString & | aID, |
nsAString & | _retval | ||
) |
Definition at line 73 of file sbRemoteLibraryResource.cpp.
|
inline |
Definition at line 49 of file sbRemoteLibraryResource.h.
|
inline |
Definition at line 49 of file sbRemoteLibraryResource.h.
|
inline |
Definition at line 49 of file sbRemoteLibraryResource.h.
NS_IMETHODIMP sbRemoteLibraryResource::SetProperties | ( | sbIPropertyArray * | aProperties | ) |
Definition at line 202 of file sbRemoteLibraryResource.cpp.
NS_IMETHODIMP sbRemoteLibraryResource::SetProperty | ( | const nsAString & | aID, |
const nsAString & | aValue | ||
) |
Definition at line 134 of file sbRemoteLibraryResource.cpp.
|
protected |
Definition at line 62 of file sbRemoteLibraryResource.h.
|
protected |
Definition at line 61 of file sbRemoteLibraryResource.h.