27 #ifndef SB_MEDIA_ITEM_DOWNLOAD_SERVICE_H_
28 #define SB_MEDIA_ITEM_DOWNLOAD_SERVICE_H_
50 #include <sbIMediaItemDownloadService.h>
51 #include <sbIServiceManager.h>
55 #include <nsIGenericFactory.h>
56 #include <nsIObserver.h>
70 #define SB_MEDIA_ITEM_DOWNLOAD_SERVICE_CLASSNAME "sbMediaItemDownloadService"
71 #define SB_MEDIA_ITEM_DOWNLOAD_SERVICE_DESCRIPTION \
72 "Songbird Media Item Download Service"
73 #define SB_MEDIA_ITEM_DOWNLOAD_SERVICE_CID \
78 { 0x8d, 0x65, 0xfe, 0xf3, 0x91, 0x81, 0x82, 0xcf } \
110 NS_DECL_SBIMEDIAITEMDOWNLOADSERVICE
131 static NS_METHOD
RegisterSelf(nsIComponentManager* aCompMgr,
133 const char* aLoaderStr,
135 const nsModuleComponentInfo* aInfo);
142 const char* aLoaderStr,
143 const nsModuleComponentInfo* aInfo);
161 nsCOMPtr<sbIServiceManager> mServiceManager;
162 nsTArray< nsCOMPtr<sbIMediaItemDownloader> >
169 nsresult Initialize();
177 #endif // SB_MEDIA_ITEM_DOWNLOAD_SERVICE_H_