#include "nsISupports.idl"#include "nsCOMPtr.h"#include "nsIComponentManager.h"#include "nsICategoryManager.h"#include "nsIServiceManager.h"#include "nsStringGlue.h"#include "nsXPCOMCID.h"Go to the source code of this file.
Classes | |
| interface | sbIDeviceInfoRegistrar |
Macros | |
| #define | SB_DEVICE_INFO_REGISTRAR_CATEGORY "songbird-device-info-registrar" |
| #define | SB_DEVICE_INFO_REGISTRAR_REGISTERSELF(_name) |
| #define | SB_DEVICE_INFO_REGISTRAR_REGISTERSELF_IMPL(_name, _desc) |
| #define SB_DEVICE_INFO_REGISTRAR_CATEGORY "songbird-device-info-registrar" |
Definition at line 191 of file sbIDeviceInfoRegistrar.idl.
| #define SB_DEVICE_INFO_REGISTRAR_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(sbSampleInfoRegistrar); SB_DEVICE_INFO_REGISTRAR_REGISTERSELF(sbSampleInfoRegistrar);
static nsModuleComponentInfo components[] = { { CLASSNAME, CID, CONTRACTID, sbSampleInfoRegistrarConstructor, sbSampleInfoRegistrarRegisterSelf, sbSampleInfoRegistrarUnregisterSelf } };
NS_IMPL_NSGETMODULE(SampleController, components)
Definition at line 215 of file sbIDeviceInfoRegistrar.idl.
| #define SB_DEVICE_INFO_REGISTRAR_REGISTERSELF_IMPL | ( | _name, | |
| _desc | |||
| ) |
Stick this in your implementation file. Give your class name.
Definition at line 231 of file sbIDeviceInfoRegistrar.idl.