1 #ifndef SBBASEDEVICEMARSHALL_H_
2 #define SBBASEDEVICEMARSHALL_H_
30 #include <sbIDeviceMarshall.h>
32 #include <sbIDeviceCompatibility.h>
73 nsIPropertyBag* deviceParams);
87 mBestMatch = deviceController;
88 mCompatibility = compatibility;
95 nsCOMPtr<sbIDeviceCompatibility> mCompatibility;
109 CompatibilityComparer & deviceComparer);
129 NS_ASSERTION(PR_FALSE,
"Something bad happened while refreshing the controllers");
133 return mControllers.get();
146 mIsMonitoring = PR_FALSE;
153 return mIsMonitoring;
156 nsCOMPtr<nsIArray> mControllers;
157 nsCString mCategoryName;
158 PRBool mIsMonitoring;
162 nsresult GetCategoryManagerEnumerator(nsCOMPtr<nsISimpleEnumerator> & enumerator);
nsIArray * GetControllers() const
virtual PRBool Compare(sbIDeviceController *controller, nsIPropertyBag *deviceParams)
sbBaseDeviceMarshall(nsACString const &categoryName)
PRBool IsMonitoring() const
sbIDeviceController * FindCompatibleControllers(nsIPropertyBag *deviceParams)
[UNIMPLEMENTED UNTIL AFTER 0.3]
void RegisterControllers(sbIDeviceControllerRegistrar *registrar)
[UNIMPLEMENTED UNTIL AFTER 0.3]
[UNIMPLEMENTED UNTIL AFTER 0.3]
sbIDeviceController * GetBestMatch() const
nsIArray * RefreshControllers()
virtual ~sbBaseDeviceMarshall()
void ClearMonitoringFlag()
void SetBestMatch(sbIDeviceController *deviceController, sbIDeviceCompatibility *compatibility)