sbIMediacoreFactory.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 sbIMediacoreFactory.idl:
This graph shows which files directly or indirectly include this file:

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)
 

Macro Definition Documentation

#define SB_MEDIACORE_FACTORY_CATEGORY   "songbird-mediacore-factory"

Definition at line 58 of file sbIMediacoreFactory.idl.

#define SB_MEDIACORE_FACTORY_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(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.