sbDeviceProperties.cpp File Reference
#include "sbDeviceProperties.h"
#include <nsAutoLock.h>
#include <nsComponentManagerUtils.h>
#include <nsISimpleEnumerator.h>
#include <nsIProperty.h>
#include <prlog.h>
#include <prprf.h>
#include <prtime.h>
#include <sbStandardDeviceProperties.h>
Include dependency graph for sbDeviceProperties.cpp:

Go to the source code of this file.

Macros

#define TRACE(args)   /* nothing */
 
#define LOG(args)   /* nothing */
 

Functions

static nsresult GetProperty (nsIPropertyBag2 *aProperties, nsAString const &aProp, nsAString &aValue)
 
static nsresult GetProperty (nsIPropertyBag *aProperties, nsAString const &aProp, nsIVariant **aValue)
 

Macro Definition Documentation

#define LOG (   args)    /* nothing */

Definition at line 51 of file sbDeviceProperties.cpp.

#define TRACE (   args)    /* nothing */

To log this module, set the following environment variable: NSPR_LOG_MODULES=sbDeviceProperties:5

Definition at line 50 of file sbDeviceProperties.cpp.

Function Documentation

static nsresult GetProperty ( nsIPropertyBag2 *  aProperties,
nsAString const &  aProp,
nsAString &  aValue 
)
static

Definition at line 222 of file sbDeviceProperties.cpp.

static nsresult GetProperty ( nsIPropertyBag *  aProperties,
nsAString const &  aProp,
nsIVariant **  aValue 
)
static

Definition at line 239 of file sbDeviceProperties.cpp.