#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 | sbIDeviceController |
| [UNIMPLEMENTED UNTIL AFTER 0.3] More... | |
Macros | |
| #define | SB_DEVICE_CONTROLLER_CATEGORY "songbird-device-controller" |
| #define | SB_DEVICE_CONTROLLER_REGISTERSELF(_name) |
| #define | SB_DEVICE_CONTROLLER_REGISTERSELF_IMPL(_name, _desc) |
| #define SB_DEVICE_CONTROLLER_CATEGORY "songbird-device-controller" |
Definition at line 114 of file sbIDeviceController.idl.
| #define SB_DEVICE_CONTROLLER_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(sbSampleController); SB_DEVICE_CONTROLLER_REGISTERSELF(sbSampleController);
static nsModuleComponentInfo components[] = { { CLASSNAME, CID, CONTRACTID, sbSampleControllerConstructor, sbSampleControllerRegisterSelf, sbSampleControllerUnregisterSelf } };
NS_IMPL_NSGETMODULE(SampleController, components)
Definition at line 137 of file sbIDeviceController.idl.
| #define SB_DEVICE_CONTROLLER_REGISTERSELF_IMPL | ( | _name, | |
| _desc | |||
| ) |
Stick this in your implementation file. Give your class name.
Definition at line 153 of file sbIDeviceController.idl.