28 #include "sbIDeviceStatus.h"
30 #include <nsStringAPI.h>
32 #include <sbIMediaItem.h>
33 #include <sbIMediaList.h>
36 class nsIProxyObjectManager;
42 NS_DECL_SBIDEVICESTATUS
50 PRUint32 mCurrentState;
51 PRUint32 mCurrentSubState;
52 nsCOMPtr<sbIDataRemote> mStatusRemote;
53 nsCOMPtr<sbIDataRemote> mOperationRemote;
54 nsCOMPtr<sbIDataRemote> mProgressRemote;
55 nsCOMPtr<sbIDataRemote> mWorkCurrentTypeRemote;
56 nsCOMPtr<sbIDataRemote> mWorkCurrentCountRemote;
57 nsCOMPtr<sbIDataRemote> mWorkTotalCountRemote;
58 nsCOMPtr<sbIMediaItem> mItem;
59 nsCOMPtr<sbIMediaList> mList;
61 PRInt64 mCurrentProgress;
64 nsresult GetDataRemote(nsIProxyObjectManager* aProxyObjectManager,
65 const nsAString& aDataRemoteName,
66 const nsAString& aDataRemotePrefix,
67 void** appDataRemote);
71 #define SONGBIRD_DEVICESTATUS_DESCRIPTION \
72 "Songbird Device Status Component"
73 #define SONGBIRD_DEVICESTATUS_CONTRACTID \
74 "@songbirdnest.com/Songbird/Device/DeviceStatus;1"
75 #define SONGBIRD_DEVICESTATUS_CLASSNAME \
76 "Songbird Device Status"
77 #define SONGBIRD_DEVICESTATUS_CID \
82 {0x81, 0x8a, 0x0d, 0x07, 0xab, 0xae, 0xc8, 0x54} \
An interface for accessing, and binding to, stored data.
NS_DECL_ISUPPORTS NS_DECL_SBIDEVICESTATUS sbDeviceStatus()