sbIDeviceMarshall.idl File Reference
#include "nsISupports.idl"
#include "nsCOMPtr.h"
#include "nsIComponentManager.h"
#include "nsICategoryManager.h"
#include "nsIServiceManager.h"
#include "nsStringGlue.h"
#include "nsXPCOMCID.h"
Include dependency graph for sbIDeviceMarshall.idl:

Go to the source code of this file.

Classes

interface  sbIDeviceMarshall
 

Macros

#define SB_DEVICE_MARSHALL_CATEGORY   "songbird-device-marshall"
 
#define SB_DEVICE_MARSHALL_REGISTERSELF(_name)
 
#define SB_DEVICE_MARSHALL_REGISTERSELF_IMPL(_name)
 

Macro Definition Documentation

#define SB_DEVICE_MARSHALL_CATEGORY   "songbird-device-marshall"

Definition at line 79 of file sbIDeviceMarshall.idl.

#define SB_DEVICE_MARSHALL_REGISTERSELF (   _name)
Value:
\
static NS_METHOD _name##RegisterSelf(nsIComponentManager* aCompMgr, \
nsIFile* aPath, \
const char* registryLocation, \
const char* componentType, \
const nsModuleComponentInfo* info); \
\
static NS_METHOD _name##UnregisterSelf(nsIComponentManager* aCompMgr, \
nsIFile* aPath, \
const char* registryLocation, \
const nsModuleComponentInfo* info)
_updateCookies aPath

Put this in your module definition file. Give your class name. Then your moduleInfo should look something like this:

NS_GENERIC_FACTORY_CONSTRUCTOR(sbSampleMarshall); SB_DEVICE_MARSHALL_REGISTERSELF(sbSampleMarshall);

static nsModuleComponentInfo components[] = { { CLASSNAME, CID, CONTRACTID, sbSampleMarshallConstructor, sbSampleMarshallRegisterSelf, sbSampleMarshallUnregisterSelf } };

NS_IMPL_NSGETMODULE(SampleController, components)

Definition at line 102 of file sbIDeviceMarshall.idl.

#define SB_DEVICE_MARSHALL_REGISTERSELF_IMPL (   _name)

Stick this in your implementation file. Give your class name.

Definition at line 118 of file sbIDeviceMarshall.idl.