sbMockDevice.cpp File Reference
#include "sbMockDevice.h"
#include <nsIPrefBranch.h>
#include <nsIPrefService.h>
#include <nsIVariant.h>
#include <nsIWritablePropertyBag.h>
#include <nsIWritablePropertyBag2.h>
#include <nsArrayUtils.h>
#include <nsCOMPtr.h>
#include <nsComponentManagerUtils.h>
#include <nsServiceManagerUtils.h>
#include <nsXPCOMCIDInternal.h>
#include <sbIDeviceCapabilities.h>
#include <sbIDeviceEvent.h>
#include <sbIDeviceLibrary.h>
#include <sbIDeviceManager.h>
#include <sbIDeviceProperties.h>
#include <sbRequestItem.h>
#include <sbDeviceContent.h>
#include <sbVariantUtils.h>
Include dependency graph for sbMockDevice.cpp:

Go to the source code of this file.

Macros

#define DEVICE_PREF_BRANCH   "songbird.devices.mock.00000000-0000-0000-c000-000000000046."
 
#define SET_PROP(type, name)
 

Macro Definition Documentation

#define DEVICE_PREF_BRANCH   "songbird.devices.mock.00000000-0000-0000-c000-000000000046."

Definition at line 55 of file sbMockDevice.cpp.

#define SET_PROP (   type,
  name 
)
Value:
rv = bag->SetPropertyAs ## type(NS_LITERAL_STRING(#name), \
transferRequest->name); \
NS_ENSURE_SUCCESS(rv, rv);

Definition at line 794 of file sbMockDevice.cpp.