#include <sbIPDProperties.h>
Public Member Functions | |
NS_DECL_ISUPPORTS NS_DECL_SBIDEVICEPROPERTIES NS_DECL_NSIWRITABLEPROPERTYBAG NS_IMETHOD | SetPropertyAsInt32 (const nsAString &aName, PRInt32 aValue) |
NS_IMETHOD | SetPropertyAsUint32 (const nsAString &aName, PRUint32 aValue) |
NS_IMETHOD | SetPropertyAsInt64 (const nsAString &aName, PRInt64 aValue) |
NS_IMETHOD | SetPropertyAsUint64 (const nsAString &aName, PRUint64 aValue) |
NS_IMETHOD | SetPropertyAsDouble (const nsAString &aName, double aValue) |
NS_IMETHOD | SetPropertyAsAString (const nsAString &aName, const nsAString &aValue) |
NS_IMETHOD | SetPropertyAsACString (const nsAString &aName, const nsACString &aValue) |
NS_IMETHOD | SetPropertyAsAUTF8String (const nsAString &aName, const nsACString &aValue) |
NS_IMETHOD | SetPropertyAsBool (const nsAString &aName, PRBool aValue) |
NS_IMETHOD | SetPropertyAsInterface (const nsAString &aName, nsISupports *aValue) |
sbIPDProperties (sbIPDDevice *aDevice) | |
virtual | ~sbIPDProperties () |
nsresult | Initialize () |
void | Finalize () |
nsresult | SetPropertyInternal (const nsAString &aName, nsIVariant *aValue) |
Public Member Functions inherited from sbIDeviceProperties | |
void | initFriendlyName (in AString aFriendlyName) |
Initialize Friendly Name property from a device. More... | |
void | initDefaultName (in AString aDefaultName) |
Initialize Default Name property from a device. More... | |
void | initVendorName (in AString aVendorName) |
Initialize Vendor Name propery for a device. More... | |
void | initModelNumber (in nsIVariant aModelNumber) |
Initialize Model Number propery for a device. More... | |
void | initSerialNumber (in nsIVariant aSerialNumber) |
Initialize Serial Number propery for a device. More... | |
void | initFirmwareVersion (in AString aFirmwareVersion) |
Initialize Firmware Version property for a device. More... | |
void | initDeviceLocation (in nsIURI aDeviceLocationUri) |
Initialize Device Location for a device. More... | |
void | initDeviceIcon (in nsIURI aDeviceIconUri) |
Initialize propery for a device. More... | |
void | initDeviceProperties (in nsIPropertyBag2 aProperties) |
Initialize Device Properties for a device. More... | |
void | initDone () |
Indicates that the initialization is complete, the initilize functions above will no longer affect the data. More... | |
Additional Inherited Members | |
Public Attributes inherited from sbIDeviceProperties | |
attribute AString | friendlyName |
readonly attribute AString | defaultName |
readonly attribute AString | vendorName |
readonly attribute nsIVariant | modelNumber |
readonly attribute nsIVariant | serialNumber |
readonly attribute AString | firmwareVersion |
readonly attribute nsIURI | uri |
readonly attribute nsIURI | iconUri |
readonly attribute nsIPropertyBag2 | properties |
attribute boolean | hidden |
Definition at line 155 of file sbIPDProperties.h.
sbIPDProperties::sbIPDProperties | ( | sbIPDDevice * | aDevice | ) |
Construct an iPod device properties object.
Definition at line 407 of file sbIPDProperties.cpp.
|
virtual |
Destroy an iPod device properties object.
Definition at line 419 of file sbIPDProperties.cpp.
void sbIPDProperties::Finalize | ( | ) |
Finalize the iPod device properties.
Definition at line 493 of file sbIPDProperties.cpp.
nsresult sbIPDProperties::Initialize | ( | ) |
Initialize the iPod device properties.
Definition at line 429 of file sbIPDProperties.cpp.
|
inline |
Definition at line 182 of file sbIPDProperties.h.
|
inline |
Definition at line 182 of file sbIPDProperties.h.
|
inline |
Definition at line 182 of file sbIPDProperties.h.
|
inline |
Definition at line 182 of file sbIPDProperties.h.
|
inline |
Definition at line 182 of file sbIPDProperties.h.
|
inline |
Definition at line 182 of file sbIPDProperties.h.
|
inline |
Definition at line 182 of file sbIPDProperties.h.
|
inline |
Definition at line 182 of file sbIPDProperties.h.
|
inline |
Definition at line 182 of file sbIPDProperties.h.
|
inline |
Definition at line 182 of file sbIPDProperties.h.
nsresult sbIPDProperties::SetPropertyInternal | ( | const nsAString & | aName, |
nsIVariant * | aValue | ||
) |
Set the internal property storage for the property specified by aName to the value specified by aValue. Bypass any special processing of properties.
aName | Name of property to set. |
aValue | Value to which to set property. |
Definition at line 511 of file sbIPDProperties.cpp.