sbStringsModule.cpp File Reference

Songbird Strings Component Factory and Main Entry Point. More...

#include "sbStringBundleService.h"
#include "sbStringMap.h"
#include "sbCharsetDetector.h"
#include <nsICategoryManager.h>
#include <nsIGenericFactory.h>
#include <nsServiceManagerUtils.h>
Include dependency graph for sbStringsModule.cpp:

Go to the source code of this file.

Macros

#define SB_STRINGMAP_CLASSNAME   "sbStringMap"
 
#define SB_STRINGMAP_CID
 

Functions

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

Variables

static nsModuleComponentInfo sbStringsComponents []
 

Detailed Description

Songbird Strings Component Factory and Main Entry Point.

Definition in file sbStringsModule.cpp.

Macro Definition Documentation

#define SB_STRINGMAP_CID
Value:
{ 0x56a00dd5, 0xcfae, 0x4910, \
{ 0xae, 0x12, 0xef, 0x53, 0x93, 0x5d, 0xcf, 0x3e } }

Definition at line 132 of file sbStringsModule.cpp.

#define SB_STRINGMAP_CLASSNAME   "sbStringMap"

Definition at line 131 of file sbStringsModule.cpp.

Function Documentation

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

Register the Songbird string bundle service component.

Definition at line 72 of file sbStringsModule.cpp.

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

Unregister the Songbird string bundle service component.

Definition at line 105 of file sbStringsModule.cpp.

Variable Documentation

nsModuleComponentInfo sbStringsComponents[]
static
Initial value:
=
{
{
"sbStringBundleService" ,
{ 0x04134658, 0x9CF9, 0x4FEA, { 0x90, 0xC0, 0xBC, 0x15, 0x9C, 0x01, 0x60, 0x37 } } ,
sbStringBundleServiceConstructor,
},
{
"sbStringMap" ,
{ 0x56a00dd5, 0xcfae, 0x4910, { 0xae, 0x12, 0xef, 0x53, 0x93, 0x5d, 0xcf, 0x3e } } ,
sbStringMapConstructor
},
{
"sbCharsetDetector" ,
{ 0x32f9b560, 0x4830, 0x11df, { 0x98, 0x79, 0x08, 0x00, 0x20, 0x0c, 0x9a, 0x66 } } ,
sbCharsetDetectorConstructor
}
}
#define SB_STRINGBUNDLESERVICE_CONTRACTID
static NS_METHOD sbStringBundleServiceUnregister(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const nsModuleComponentInfo *aInfo)
#define SB_STRINGMAP_CONTRACTID
static NS_METHOD sbStringBundleServiceRegister(nsIComponentManager *aCompMgr, nsIFile *aPath, const char *aLoaderStr, const char *aType, const nsModuleComponentInfo *aInfo)
#define SB_CHARSETDETECTOR_CONTRACTID

Definition at line 148 of file sbStringsModule.cpp.