27 #ifndef __SBLOCALDATABASEMEDIAITEM_H__
28 #define __SBLOCALDATABASEMEDIAITEM_H__
30 #include <sbILibraryResource.h>
31 #include <sbILocalDatabaseMediaItem.h>
32 #include <sbILocalDatabaseResourceProperty.h>
33 #include <sbIMediaItem.h>
34 #include <nsIClassInfo.h>
35 #include <nsIRequestObserver.h>
38 #include <nsAutoPtr.h>
40 #include <nsStringGlue.h>
49 public nsIRequestObserver,
55 NS_DECL_NSIREQUESTOBSERVER
57 NS_DECL_SBILIBRARYRESOURCE
58 NS_DECL_SBILOCALDATABASEMEDIAITEM
66 const nsAString& aGuid,
67 PRBool aOwnsLibrary = PR_TRUE);
70 nsresult EnsurePropertyBag();
98 PRLock* mPropertyBagLock;
99 nsCOMPtr<sbILocalDatabaseResourcePropertyBag> mPropertyBag;
108 NS_DECL_SBIINDEXEDMEDIAITEM
112 mMediaItem(aMediaItem)
114 NS_ASSERTION(aMediaItem,
"Null value passed to ctor");
119 nsCOMPtr<sbIMediaItem> mMediaItem;
[USER CODE SHOULD NOT REFERENCE THIS CLASS]
[USER CODE SHOULD NOT REFERENCE THIS CLASS]