27 #ifndef SB_BASE_DEVICE_VOLUME_H_
28 #define SB_BASE_DEVICE_VOLUME_H_
45 #include <sbIDeviceLibrary.h>
48 #include <nsAutoPtr.h>
49 #include <nsStringGlue.h>
116 nsresult
GetGUID(nsAString& aGUID);
118 nsresult
SetGUID(
const nsAString& aGUID);
210 nsCOMPtr<sbIDeviceLibrary> mDeviceLibrary;
211 nsRefPtr<sbDeviceStatistics> mStatistics;
virtual ~sbBaseDeviceVolume()
nsresult SetIsMounted(PRBool aIsMounted)
nsresult GetStatistics(sbDeviceStatistics **aStatistics)
nsresult GetIsMounted(PRBool *aIsMounted)
nsresult GetGUID(nsAString &aGUID)
nsresult GetRemovable(PRInt32 *aRemovable)
nsresult GetDeviceLibrary(sbIDeviceLibrary **aDeviceLibrary)
nsresult SetRemovable(PRInt32 aRemovable)
nsresult SetGUID(const nsAString &aGUID)
Songbird Device Statistics Definitions.
static NS_DECL_ISUPPORTS nsresult New(sbBaseDeviceVolume **aVolume, sbBaseDevice *aDevice)
nsresult SetDeviceLibrary(sbIDeviceLibrary *aDeviceLibrary)
virtual nsresult Initialize(sbBaseDevice *aDevice)