sbTemporaryFileServiceModule.cpp File Reference

Songbird Temporary File Service Component Factory and Main Entry Point. More...

#include "sbTemporaryFileFactory.h"
#include "sbTemporaryFileService.h"
#include <nsICategoryManager.h>
#include <nsIGenericFactory.h>
#include <nsServiceManagerUtils.h>
Include dependency graph for sbTemporaryFileServiceModule.cpp:

Go to the source code of this file.

Functions

static NS_METHOD sbTemporaryFileServiceRegister (nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo)
 Register the Songbird temporary file service component. More...
 
static NS_METHOD sbTemporaryFileServiceUnregister (nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const nsModuleComponentInfo *aInfo)
 Unregister the Songbird temporary file service component. More...
 

Variables

static nsModuleComponentInfo sbTemporaryFileServiceComponents []
 

Detailed Description

Songbird Temporary File Service Component Factory and Main Entry Point.

Definition in file sbTemporaryFileServiceModule.cpp.

Function Documentation

static NS_METHOD sbTemporaryFileServiceRegister ( nsIComponentManager *  aCompMgr,
nsIFile *  aPath,
const char *  aLoaderStr,
const char *  aType,
const nsModuleComponentInfo *  aInfo 
)
static

Register the Songbird temporary file service component.

Definition at line 72 of file sbTemporaryFileServiceModule.cpp.

static NS_METHOD sbTemporaryFileServiceUnregister ( nsIComponentManager *  aCompMgr,
nsIFile *  aPath,
const char *  aLoaderStr,
const nsModuleComponentInfo *  aInfo 
)
static

Unregister the Songbird temporary file service component.

Definition at line 105 of file sbTemporaryFileServiceModule.cpp.

Variable Documentation

nsModuleComponentInfo sbTemporaryFileServiceComponents[]
static
Initial value:
=
{
{
"sbTemporaryFileService" ,
{ 0xa73256d2, 0x1dd1, 0x11b2, { 0x9f, 0xaa, 0xb9, 0x70, 0x98, 0x34, 0x17, 0x4c } } ,
sbTemporaryFileServiceConstructor,
},
{
"sbTemporaryFileFactory" ,
{ 0x33ecad26, 0x1dd2, 0x11b2, { 0xb1, 0x1b, 0x84, 0xc2, 0x15, 0xc3, 0x10, 0xa5 } } ,
sbTemporaryFileFactoryConstructor
}
}
static NS_METHOD sbTemporaryFileServiceRegister(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo)
Register the Songbird temporary file service component.
#define SB_TEMPORARYFILEFACTORY_CONTRACTID
#define SB_TEMPORARYFILESERVICE_CONTRACTID
static NS_METHOD sbTemporaryFileServiceUnregister(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const nsModuleComponentInfo *aInfo)
Unregister the Songbird temporary file service component.

Definition at line 145 of file sbTemporaryFileServiceModule.cpp.