#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 | sbIMediacoreFactory |
Macros | |
#define | SB_MEDIACORE_FACTORY_CATEGORY "songbird-mediacore-factory" |
#define | SB_MEDIACORE_FACTORY_REGISTERSELF(_name) |
#define | SB_MEDIACORE_FACTORY_REGISTERSELF_IMPL(_name, _desc) |
#define SB_MEDIACORE_FACTORY_CATEGORY "songbird-mediacore-factory" |
Definition at line 58 of file sbIMediacoreFactory.idl.
#define SB_MEDIACORE_FACTORY_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(sbSampleMediacoreFactory, Init); SB_MEDIACORE_FACTORY_REGISTERSELF(sbSampleMediacoreFactory);
static nsModuleComponentInfo components[] = { { CLASSNAME, CID, CONTRACTID, sbSampleMediacoreFactoryConstructor, sbSampleMediacoreFactoryRegisterSelf, sbSampleMediacoreFactoryUnregisterSelf } };
NS_IMPL_NSGETMODULE(SampleMediacoreFactory, components)
Definition at line 81 of file sbIMediacoreFactory.idl.
#define SB_MEDIACORE_FACTORY_REGISTERSELF_IMPL | ( | _name, | |
_desc | |||
) |
Stick this in your implementation file. Give your class name.
Definition at line 97 of file sbIMediacoreFactory.idl.