40 #define LOG(args) LOG_LIB(args)
48 "library_read:length",
51 "library_read:scanMediaOnCreation",
54 "classinfo:classDescription",
55 "classinfo:contractID",
57 "classinfo:implementationLanguage",
63 "library_read:getItemByGuid",
64 "library_read:getItemByIndex",
65 "library_read:enumerateAllItems",
66 "library_read:enumerateItemsByProperty",
67 "library_read:indexOf",
68 "library_read:lastIndexOf",
69 "library_read:contains",
70 "library_read:getDistinctValuesForProperty",
73 "library_read:getProperty",
100 LOG_LIB((
"sbRemoteWebLibrary::sbRemoteWebLibrary()"));
105 LOG_LIB((
"sbRemoteWebLibrary::~sbRemoteWebLibrary()"));
117 LOG_LIB((
"sbRemoteWebLibrary::InitInternalMediaList()"));
118 NS_ASSERTION(
mLibrary,
"EEK! Initing internals without a mLibrary" );
120 nsCOMPtr<sbIMediaList> mediaList( do_QueryInterface(
mLibrary) );
121 NS_ENSURE_TRUE( mediaList, NS_ERROR_FAILURE );
123 nsCOMPtr<sbIMediaListView> mediaListView;
124 nsresult rv = mediaList->CreateView( nsnull, getter_AddRefs(mediaListView) );
125 NS_ENSURE_SUCCESS( rv, rv );
133 NS_ENSURE_SUCCESS( rv, rv );
#define SB_IMPL_SECURITYCHECKEDCOMP_INIT(_class)
static const char * sPublicWProperties[]
static const char * sPublicMethods[]
virtual nsresult InitInternalMediaList()
static const char * sPublicRProperties[]
nsISecurityCheckedComponent
A marker interface for objects that aggregate the security mixin.
nsRefPtr< sbRemoteMediaListBase > mRemMediaList
General interface to data resources.
An interface to control a media library from remote web pages.
NS_IMPL_ISUPPORTS_INHERITED1(sbRemoteWebLibrary, sbRemoteLibrary, nsIClassInfo) NS_IMPL_CI_INTERFACE_GETTER10(sbRemoteWebLibrary
nsCOMPtr< sbILibrary > mLibrary
virtual ~sbRemoteWebLibrary()
nsRefPtr< sbRemotePlayer > mRemotePlayer
#define SB_IMPL_CLASSINFO_INTERFACES_ONLY(_class)