27 #ifndef sbMediaExportService_h_
28 #define sbMediaExportService_h_
32 #include <sbIShutdownJob.h>
33 #include <sbIJobProgress.h>
34 #include <sbIPropertyArray.h>
35 #include <nsIObserver.h>
36 #include <sbIMediaListListener.h>
37 #include <sbILocalDatabaseSmartMediaList.h>
38 #include <nsIComponentManager.h>
39 #include <nsIGenericFactory.h>
43 #include <nsAutoPtr.h>
44 #include <nsCOMArray.h>
45 #include <nsIClassInfo.h>
46 #include <sbIMediaExportService.h>
73 static NS_METHOD
RegisterSelf(nsIComponentManager* aCompMgr,
75 const char* aLoaderStr,
77 const nsModuleComponentInfo *aInfo);
81 const PRBool aNewPrefValue);
84 NS_DECL_SBIMEDIAEXPORTSERVICE
87 NS_DECL_SBIMEDIALISTLISTENER
88 NS_DECL_SBILOCALDATABASESMARTMEDIALISTLISTENER
89 NS_DECL_SBIJOBPROGRESS
90 NS_DECL_SBISHUTDOWNJOB
105 PRBool *aShouldWatch);
135 nsRefPtr<sbMediaExportPrefController> mPrefController;
136 nsCOMPtr<sbIMutablePropertyArray> mFilteredProperties;
137 nsCOMArray<sbIMediaList> mObservedMediaLists;
138 nsCOMArray<sbILocalDatabaseSmartMediaList> mObservedSmartMediaLists;
153 nsRefPtr<sbMediaExportTaskWriter> mTaskWriter;
156 nsCOMArray<sbIJobProgressListener> mJobListeners;
162 #endif // sbMediaExportService_h_
std::set< nsString > sbStringSet