sbDeviceProperties Class Reference

#include <sbDeviceProperties.h>

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

Public Member Functions

NS_DECL_ISUPPORTS
NS_DECL_SBIDEVICEPROPERTIES 
sbDeviceProperties ()
 
- 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...
 

Protected Attributes

PRLock * mLock
 
PRPackedBool isInitialized
 
nsCOMPtr< nsIWritablePropertyBag > mProperties
 
nsCOMPtr< nsIWritablePropertyBag2 > mProperties2
 
nsCOMPtr< nsIURI > mDeviceLocation
 
nsCOMPtr< nsIURI > mDeviceIcon
 

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 41 of file sbDeviceProperties.h.

Constructor & Destructor Documentation

sbDeviceProperties::sbDeviceProperties ( )

Definition at line 54 of file sbDeviceProperties.cpp.

Member Data Documentation

PRPackedBool sbDeviceProperties::isInitialized
protected

Definition at line 54 of file sbDeviceProperties.h.

nsCOMPtr<nsIURI> sbDeviceProperties::mDeviceIcon
protected

Definition at line 59 of file sbDeviceProperties.h.

nsCOMPtr<nsIURI> sbDeviceProperties::mDeviceLocation
protected

Definition at line 58 of file sbDeviceProperties.h.

PRLock* sbDeviceProperties::mLock
protected

Definition at line 53 of file sbDeviceProperties.h.

nsCOMPtr<nsIWritablePropertyBag> sbDeviceProperties::mProperties
protected

Definition at line 56 of file sbDeviceProperties.h.

nsCOMPtr<nsIWritablePropertyBag2> sbDeviceProperties::mProperties2
protected

Definition at line 57 of file sbDeviceProperties.h.


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