27 #ifndef __SB_REMOTE_MEDIALISTBASE_H__
28 #define __SB_REMOTE_MEDIALISTBASE_H__
32 #include <sbILibraryResource.h>
35 #include <sbIMediaItem.h>
36 #include <sbIMediaList.h>
37 #include <sbIMediaListListener.h>
38 #include <sbIRemoteMediaList.h>
39 #include <sbISecurityAggregator.h>
40 #include <sbISecurityMixin.h>
43 #include <nsIClassInfo.h>
44 #include <nsISimpleEnumerator.h>
45 #include <nsISecurityCheckedComponent.h>
46 #include <nsStringGlue.h>
50 extern PRLogModuleInfo *gRemoteMediaListLog;
53 #define LOG_LIST(args) PR_LOG(gRemoteMediaListLog, PR_LOG_WARN, args)
70 NS_DECL_SBISECURITYAGGREGATOR
71 NS_DECL_SBIREMOTEMEDIALIST
84 NS_IMETHOD
NewResolve( nsIXPConnectWrappedNative *wrapper,
96 const nsAString & aPropertyValue,
100 PRUint16 aEnumerationType);
102 const nsAString& aPropertyValue,
104 PRUint16 aEnumerationType);
130 virtual nsresult
Init() = 0;
137 const nsACString &aExceptionMsg );
159 NS_DECL_SBIMEDIALISTENUMERATIONLISTENER
165 nsRefPtr<sbRemotePlayer> mRemotePlayer;
166 nsCOMPtr<sbIMediaListEnumerationListener> mWrapped;
173 NS_DECL_NSISIMPLEENUMERATOR
178 nsCOMPtr<nsISimpleEnumerator> mWrapped;
181 #endif // __SB_REMOTE_MEDIALISTBASE_H__
NS_IMETHOD SetProperty(nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, jsval *vp, PRBool *_retval)
NS_IMETHOD GetProperty(nsIXPConnectWrappedNative *wrapper, JSContext *cx, JSObject *obj, jsval id, jsval *vp, PRBool *_retval)
sbDeviceFirmwareAutoCheckForUpdate prototype flags
nsISecurityCheckedComponent
NS_DECL_ISUPPORTS NS_DECL_NSISIMPLEENUMERATOR sbUnwrappingSimpleEnumerator(nsISimpleEnumerator *aWrapped)
A marker interface for objects that aggregate the security mixin.
Media library abstraction.