#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>
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) |
#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 | ) |
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.