sbILibraryLoader.idl File Reference

Definition of the sbILibraryLoader interface. More...

#include "nsISupports.idl"
#include <nsICategoryManager.h>
#include <nsIComponentManager.h>
#include <nsIFile.h>
#include <nsCOMPtr.h>
#include <nsServiceManagerUtils.h>
#include <nsStringGlue.h>
#include <nsXPCOMCID.h>
Include dependency graph for sbILibraryLoader.idl:

Go to the source code of this file.

Classes

interface  sbILibraryLoader
 [USER CODE SHOULD NOT REFERENCE THIS CLASS] More...
 

Macros

#define SB_LIBRARY_LOADER_CATEGORY   "songbird-library-loader"
 
#define SB_LIBRARY_LOADER_REGISTRATION(_name, _desc)
 

Detailed Description

Definition of the sbILibraryLoader interface.

See Also
sbILibrary.idl

Definition in file sbILibraryLoader.idl.

Macro Definition Documentation

#define SB_LIBRARY_LOADER_CATEGORY   "songbird-library-loader"

Definition at line 78 of file sbILibraryLoader.idl.

#define SB_LIBRARY_LOADER_REGISTRATION (   _name,
  _desc 
)

Put this in your module definition file. Give your class name and description for the arguments. Then your moduleInfo should look something like this:

NS_GENERIC_FACTORY_CONSTRUCTOR(sbSampleLoader); SB_LIBRARY_LOADER_REGISTERSELF(sbSampleLoader, SB_SAMPLELOADER_CLASSNAME);

static nsModuleComponentInfo components[] = { { SB_SAMPLELOADER_CLASSNAME, SB_SAMPLELOADER_CID, SB_SAMPLELOADER_CONTRACTID, sbSampleLoaderConstructor, sbSampleLoaderRegisterSelf, sbSampleLoaderUnregisterSelf } };

NS_IMPL_NSGETMODULE(SampleLibraryLoader, components)

Definition at line 103 of file sbILibraryLoader.idl.