sbIPDProperties Class Reference

#include <sbIPDProperties.h>

Inheritance diagram for sbIPDProperties:
[legend]
Collaboration diagram for sbIPDProperties:
[legend]

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
 

Detailed Description

Definition at line 155 of file sbIPDProperties.h.

Constructor & Destructor Documentation

sbIPDProperties::sbIPDProperties ( sbIPDDevice aDevice)

Construct an iPod device properties object.

Definition at line 407 of file sbIPDProperties.cpp.

sbIPDProperties::~sbIPDProperties ( )
virtual

Destroy an iPod device properties object.

Definition at line 419 of file sbIPDProperties.cpp.

Member Function Documentation

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.

NS_IMETHOD sbIPDProperties::SetPropertyAsACString ( const nsAString &  aName,
const nsACString &  aValue 
)
inline

Definition at line 182 of file sbIPDProperties.h.

NS_IMETHOD sbIPDProperties::SetPropertyAsAString ( const nsAString &  aName,
const nsAString &  aValue 
)
inline

Definition at line 182 of file sbIPDProperties.h.

NS_IMETHOD sbIPDProperties::SetPropertyAsAUTF8String ( const nsAString &  aName,
const nsACString &  aValue 
)
inline

Definition at line 182 of file sbIPDProperties.h.

NS_IMETHOD sbIPDProperties::SetPropertyAsBool ( const nsAString &  aName,
PRBool  aValue 
)
inline

Definition at line 182 of file sbIPDProperties.h.

NS_IMETHOD sbIPDProperties::SetPropertyAsDouble ( const nsAString &  aName,
double  aValue 
)
inline

Definition at line 182 of file sbIPDProperties.h.

NS_DECL_ISUPPORTS NS_DECL_SBIDEVICEPROPERTIES NS_DECL_NSIWRITABLEPROPERTYBAG NS_IMETHOD sbIPDProperties::SetPropertyAsInt32 ( const nsAString &  aName,
PRInt32  aValue 
)
inline

Definition at line 182 of file sbIPDProperties.h.

NS_IMETHOD sbIPDProperties::SetPropertyAsInt64 ( const nsAString &  aName,
PRInt64  aValue 
)
inline

Definition at line 182 of file sbIPDProperties.h.

NS_IMETHOD sbIPDProperties::SetPropertyAsInterface ( const nsAString &  aName,
nsISupports aValue 
)
inline

Definition at line 182 of file sbIPDProperties.h.

NS_IMETHOD sbIPDProperties::SetPropertyAsUint32 ( const nsAString &  aName,
PRUint32  aValue 
)
inline

Definition at line 182 of file sbIPDProperties.h.

NS_IMETHOD sbIPDProperties::SetPropertyAsUint64 ( const nsAString &  aName,
PRUint64  aValue 
)
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.

Parameters
aNameName of property to set.
aValueValue to which to set property.

Definition at line 511 of file sbIPDProperties.cpp.


The documentation for this class was generated from the following files: