sbIDeviceFirmwareHandler.idl File Reference
#include "nsISupports.idl"
#include <nsIComponentManager.h>
#include <nsICategoryManager.h>
#include <nsIGenericFactory.h>
#include <nsIServiceManager.h>
#include <nsCOMPtr.h>
#include <nsServiceManagerUtils.h>
#include <nsStringGlue.h>
#include <nsXPCOMCID.h>
Include dependency graph for sbIDeviceFirmwareHandler.idl:

Go to the source code of this file.

Classes

interface  sbIDeviceFirmwareHandler
 

Macros

#define SB_DEVICE_FIRMWARE_HANDLER_CATEGORY   "songbird-device-firmware-handler"
 
#define SB_DEVICE_FIRMWARE_HANDLER_REGISTERSELF(_name)
 
#define SB_DEVICE_FIRMWARE_HANLDER_REGISTERSELF_IMPL(_name, _desc)
 

Macro Definition Documentation

#define SB_DEVICE_FIRMWARE_HANDLER_CATEGORY   "songbird-device-firmware-handler"

Definition at line 287 of file sbIDeviceFirmwareHandler.idl.

#define SB_DEVICE_FIRMWARE_HANDLER_REGISTERSELF (   _name)
Value:
\
NS_METHOD _name##RegisterSelf(nsIComponentManager* aCompMgr, \
nsIFile* aPath, \
const char* registryLocation, \
const char* componentType, \
const nsModuleComponentInfo* info); \
\
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_INIT(sbSampleDeviceFirmwareHanlder, Init); SB_MEDIACORE_FACTORY_REGISTERSELF(sbSampleDeviceFirmwareHandler);

static nsModuleComponentInfo components[] = { { CLASSNAME, CID, CONTRACTID, sbSampleDeviceFirmwareHandlerConstructor, sbSampleDeviceFirmwareHandlerRegisterSelf, sbSampleDeviceFirmwareHandlerUnregisterSelf } };

NS_IMPL_NSGETMODULE(SampleDeviceFirmwareHandler, components)

Definition at line 310 of file sbIDeviceFirmwareHandler.idl.

#define SB_DEVICE_FIRMWARE_HANLDER_REGISTERSELF_IMPL (   _name,
  _desc 
)

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

Definition at line 326 of file sbIDeviceFirmwareHandler.idl.