зеркало из https://github.com/mozilla/gecko-dev.git
Making the nsModuleComponentInfo data const; bug 74803. r=dp, sr=waterson
This commit is contained in:
Родитель
d2b399c062
Коммит
d133d4956f
|
@ -63,7 +63,7 @@ NS_ConstructAccessibilityService(nsISupports *aOuter, REFNSIID aIID, void **aRes
|
|||
}
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "AccessibilityService",
|
||||
NS_ACCESSIBILITY_SERVICE_CID,
|
||||
|
|
|
@ -368,7 +368,7 @@ RegisterSecurityNameSet(nsIComponentManager *aCompMgr,
|
|||
}
|
||||
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ NS_SCRIPTSECURITYMANAGER_CLASSNAME,
|
||||
NS_SCRIPTSECURITYMANAGER_CID,
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsChromeRegistry, Init)
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Chrome Registry",
|
||||
NS_CHROMEREGISTRY_CID,
|
||||
|
|
|
@ -449,7 +449,7 @@ UnregisterHTMLOptionElement(nsIComponentManager* aCompMgr,
|
|||
}
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo gComponents[] = {
|
||||
static const nsModuleComponentInfo gComponents[] = {
|
||||
{ "Namespace manager",
|
||||
NS_NAMESPACEMANAGER_CID,
|
||||
nsnull,
|
||||
|
|
|
@ -58,7 +58,7 @@ public:
|
|||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMorkFactoryFactory)
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Mork Factory",
|
||||
NS_MORK_CID,
|
||||
|
|
|
@ -62,7 +62,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsLDAPProtocolHandler);
|
|||
|
||||
// a table of the CIDs implemented by this module (in this case, just one)
|
||||
//
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "LDAP Connection", NS_LDAPCONNECTION_CID,
|
||||
"@mozilla.org/network/ldap-connection;1",
|
||||
|
|
|
@ -35,7 +35,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsDefaultURIFixup);
|
|||
// a component
|
||||
//NS_GENERIC_FACTORY_CONSTRUCTOR(nsDocShell);
|
||||
|
||||
static nsModuleComponentInfo gDocShellModuleInfo[] = {
|
||||
static const nsModuleComponentInfo gDocShellModuleInfo[] = {
|
||||
{ "WebShell",
|
||||
NS_WEB_SHELL_CID,
|
||||
"@mozilla.org/webshell;1",
|
||||
|
|
|
@ -203,7 +203,7 @@ nsDOMSOFactory::GetException(nsresult result, nsIException *aDefaultException,
|
|||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsDOMSOFactory);
|
||||
|
||||
static nsModuleComponentInfo gDOMModuleInfo[] = {
|
||||
static const nsModuleComponentInfo gDOMModuleInfo[] = {
|
||||
{ "Script Object Factory",
|
||||
NS_DOM_SCRIPT_OBJECT_FACTORY_CID,
|
||||
nsnull,
|
||||
|
|
|
@ -804,7 +804,7 @@ nsJSProtocolHandler::AllowPort(PRInt32 port, const char *scheme, PRBool *_retval
|
|||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
static nsModuleComponentInfo gJSModuleInfo[] = {
|
||||
static const nsModuleComponentInfo gJSModuleInfo[] = {
|
||||
{ "JavaScript Protocol Handler",
|
||||
NS_JSPROTOCOLHANDLER_CID,
|
||||
NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "javascript",
|
||||
|
|
|
@ -55,7 +55,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsComposerController)
|
|||
// information like the function to create an instance, contractid, and
|
||||
// class name.
|
||||
//
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "Composer Controller", NS_COMPOSERCONTROLLER_CID,
|
||||
"@mozilla.org/editor/composercontroller;1",
|
||||
nsComposerControllerConstructor, },
|
||||
|
|
|
@ -79,7 +79,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsHTMLEditor)
|
|||
// information like the function to create an instance, contractid, and
|
||||
// class name.
|
||||
//
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "Text Editor", NS_TEXTEDITOR_CID,
|
||||
"@mozilla.org/editor/texteditor;1", nsPlaintextEditorConstructor, },
|
||||
#ifdef ENABLE_EDITOR_API_LOG
|
||||
|
|
|
@ -60,7 +60,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsPlaintextEditor)
|
|||
// information like the function to create an instance, contractid, and
|
||||
// class name.
|
||||
//
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "Text Editor", NS_TEXTEDITOR_CID,
|
||||
"@mozilla.org/editor/texteditor;1", nsPlaintextEditorConstructor, },
|
||||
{ "Editor Controller", NS_EDITORCONTROLLER_CID,
|
||||
|
|
|
@ -61,7 +61,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsFindAndReplace)
|
|||
// information like the function to create an instance, contractid, and
|
||||
// class name.
|
||||
//
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ NULL, NS_TEXTSERVICESDOCUMENT_CID, "@mozilla.org/textservices/textservicesdocument;1", nsTextServicesDocumentConstructor },
|
||||
{ NULL, NS_TEXTSERVICESFINDANDREPLACE_CID, NS_FINDANDREPLACE_CONTRACTID, nsFindAndReplaceConstructor },
|
||||
};
|
||||
|
|
|
@ -54,7 +54,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsTransactionManager)
|
|||
// information like the function to create an instance, contractid, and
|
||||
// class name.
|
||||
//
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "nsTransactionManager", NS_TRANSACTIONMANAGER_CID, NS_TRANSACTIONMANAGER_CONTRACTID, nsTransactionManagerConstructor },
|
||||
};
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsFindAndReplace)
|
|||
// information like the function to create an instance, contractid, and
|
||||
// class name.
|
||||
//
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ NULL, NS_TEXTSERVICESDOCUMENT_CID, "@mozilla.org/textservices/textservicesdocument;1", nsTextServicesDocumentConstructor },
|
||||
{ NULL, NS_TEXTSERVICESFINDANDREPLACE_CID, NS_FINDANDREPLACE_CONTRACTID, nsFindAndReplaceConstructor },
|
||||
};
|
||||
|
|
|
@ -69,7 +69,7 @@ UnregisterContentPolicy(nsIComponentManager *aCompMgr, nsIFile *aPath,
|
|||
|
||||
// Component Table
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "WebBrowser Component", NS_WEBBROWSER_CID,
|
||||
NS_WEBBROWSER_CONTRACTID, nsWebBrowserConstructor },
|
||||
|
|
|
@ -226,7 +226,7 @@ NS_IMETHODIMP className::QueryInterface( REFNSIID anIID, void **anInstancePtr )
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR( nsUnknownContentTypeHandler )
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo info[] = {
|
||||
static const nsModuleComponentInfo info[] = {
|
||||
"nsUnknownContentTypeHandler",
|
||||
NS_IHELPERAPPLAUNCHERDIALOG_IID,
|
||||
NS_IHELPERAPPLAUNCHERDLG_CONTRACTID,
|
||||
|
|
|
@ -53,7 +53,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsJSConsoleService)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsWebBrowserFind)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsWebBrowserPersist)
|
||||
|
||||
static nsModuleComponentInfo gComponents[] = {
|
||||
static const nsModuleComponentInfo gComponents[] = {
|
||||
|
||||
{ "Dialog ParamBlock", NS_DIALOGPARAMBLOCK_CID, NS_DIALOGPARAMBLOCK_CONTRACTID, nsDialogParamBlockConstructor },
|
||||
{ "Prompt Service", NS_PROMPTSERVICE_CID, NS_PROMPTSERVICE_CONTRACTID, nsPromptServiceConstructor },
|
||||
|
|
|
@ -69,7 +69,7 @@ static void PR_CALLBACK AccessProxyModuleDtor(nsIModule* self)
|
|||
nsAccessProxy::ReleaseInstance();
|
||||
}
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "AccessProxy Component", NS_ACCESSPROXY_CID, NS_ACCESSPROXY_CONTRACTID,
|
||||
nsAccessProxyConstructor, nsAccessProxyRegistrationProc,
|
||||
|
|
|
@ -92,7 +92,7 @@ UnregisterContentPolicy(nsIComponentManager *aCompMgr, nsIFile *aPath,
|
|||
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "Cookie",
|
||||
NS_COOKIE_CID,
|
||||
NS_COOKIE_CONTRACTID,
|
||||
|
|
|
@ -50,7 +50,7 @@ NS_UCONV_REG_UNREG(nsUnicodeToTIS620, "Unicode", "tis620-2", NS_UNICODETOTIS620_
|
|||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToTIS620);
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ ENCODER_NAME_BASE "tis620-2" , NS_UNICODETOTIS620_CID,
|
||||
NS_UNICODEENCODER_CONTRACTID_BASE "tis620-2",
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
#include "nsIGenericFactory.h"
|
||||
#include "nsDateTimeHandler.h"
|
||||
|
||||
static nsModuleComponentInfo gResComponents[] = {
|
||||
static const nsModuleComponentInfo gResComponents[] = {
|
||||
{ "The DateTime Protocol Handler",
|
||||
NS_DATETIMEHANDLER_CID,
|
||||
NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "datetime",
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
#include "nsIGenericFactory.h"
|
||||
#include "nsFingerHandler.h"
|
||||
|
||||
static nsModuleComponentInfo gResComponents[] = {
|
||||
static const nsModuleComponentInfo gResComponents[] = {
|
||||
{ "The Finger Protocol Handler",
|
||||
NS_FINGERHANDLER_CID,
|
||||
NS_NETWORK_PROTOCOL_CONTRACTID_PREFIX "finger",
|
||||
|
|
|
@ -120,7 +120,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(inPNGEncoder)
|
|||
{ 0xece14df2, 0xfc83, 0x469f, { 0x83, 0xac, 0x68, 0x4d, 0x5f, 0x6, 0xb6, 0xce } }
|
||||
#endif
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "DOM View",
|
||||
IN_DOMVIEW_CID,
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsGenericInterfaceInfoSet)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsScriptableInterfaceInfo)
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{nsnull,
|
||||
NS_GENERIC_INTERFACE_INFO_SET_CID,
|
||||
NS_GENERIC_INTERFACE_INFO_SET_CONTRACTID,
|
||||
|
|
|
@ -1418,7 +1418,7 @@ CreateNewPICS(nsISupports* aOuter, REFNSIID aIID, void **aResult)
|
|||
// information like the function to create an instance, contractid, and
|
||||
// class name.
|
||||
//
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "PICS", NS_PICS_CID, NS_PICS_CONTRACTID, CreateNewPICS, },
|
||||
};
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ UnRegisterReadConfig(nsIComponentManager *aCompMgr,
|
|||
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{
|
||||
NS_AUTOCONFIG_CLASSNAME,
|
||||
|
|
|
@ -108,7 +108,7 @@ Shutdown(nsIModule* aSelf)
|
|||
}
|
||||
|
||||
// Component Table
|
||||
static nsModuleComponentInfo gComponents[] = {
|
||||
static const nsModuleComponentInfo gComponents[] = {
|
||||
{ "Transformiix XSLT Processor",
|
||||
TRANSFORMIIX_XSLT_PROCESSOR_CID,
|
||||
TRANSFORMIIX_XSLT_PROCESSOR_CONTRACTID,
|
||||
|
|
|
@ -95,7 +95,7 @@ static NS_METHOD nsUniversalCharDetectorRegistrationProc(nsIComponentManager *aC
|
|||
}
|
||||
|
||||
// Component Table
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Universal Charset Detector", NS_UNIVERSAL_DETECTOR_CID,
|
||||
NS_CHARSET_DETECTOR_CONTRACTID_BASE "universal_charset_detector", nsUniversalXPCOMDetectorConstructor,
|
||||
|
|
|
@ -49,7 +49,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(SignonViewerImpl)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(WalletEditorImpl)
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "WalletPreview World Component", NS_WALLETPREVIEW_CID,
|
||||
"@mozilla.org/walletpreview/walletpreview-world;1", WalletPreviewImplConstructor },
|
||||
{ "SignonViewer World Component", NS_SIGNONVIEWER_CID,
|
||||
|
|
|
@ -49,7 +49,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsPasswordManager, Init)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsSingleSignOnPrompt, Init)
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ NS_WALLETSERVICE_CLASSNAME, NS_WALLETSERVICE_CID,
|
||||
NS_WALLETSERVICE_CONTRACTID, nsWalletlibServiceConstructor,
|
||||
nsWalletlibService::RegisterProc,
|
||||
|
|
|
@ -70,7 +70,7 @@ RegisterWSPProxyTest(nsIComponentManager *aCompMgr,
|
|||
return rv;
|
||||
}
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "WebServiceProxyTest", NS_WSPPROXYTEST_CID, NS_WSPPROXYTEST_CONTRACTID,
|
||||
WSPProxyTestConstructor, RegisterWSPProxyTest, nsnull, nsnull,
|
||||
NS_CI_INTERFACE_GETTER_NAME(WSPProxyTest),
|
||||
|
|
|
@ -305,7 +305,7 @@ RegisterXMLExtras(nsIComponentManager *aCompMgr,
|
|||
// information like the function to create an instance, contractid, and
|
||||
// class name.
|
||||
//
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "XMLExtras component", NS_XML_EXTRAS_CID, NS_XML_EXTRAS_CONTRACTID,
|
||||
nsXMLExtrasConstructor, RegisterXMLExtras },
|
||||
{ "XML Serializer", NS_XMLSERIALIZER_CID, NS_XMLSERIALIZER_CONTRACTID,
|
||||
|
|
|
@ -54,7 +54,7 @@
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsGenericInterfaceInfoSet)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsScriptableInterfaceInfo)
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{nsnull,
|
||||
NS_GENERIC_INTERFACE_INFO_SET_CID,
|
||||
NS_GENERIC_INTERFACE_INFO_SET_CONTRACTID,
|
||||
|
|
|
@ -70,7 +70,7 @@ RegisterWSPProxyTest(nsIComponentManager *aCompMgr,
|
|||
return rv;
|
||||
}
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "WebServiceProxyTest", NS_WSPPROXYTEST_CID, NS_WSPPROXYTEST_CONTRACTID,
|
||||
WSPProxyTestConstructor, RegisterWSPProxyTest, nsnull, nsnull,
|
||||
NS_CI_INTERFACE_GETTER_NAME(WSPProxyTest),
|
||||
|
|
|
@ -40,7 +40,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(mozXMLTerminal)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(mozXMLTermStream)
|
||||
|
||||
// CIDs implemented by module
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ MOZLINETERM_CLASSNAME,
|
||||
MOZLINETERM_CID,
|
||||
|
|
|
@ -114,7 +114,7 @@ static NS_IMETHODIMP nsScriptableRegionConstructor(nsISupports *aOuter, REFNSIID
|
|||
return rv;
|
||||
}
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "BeOS Font Metrics",
|
||||
NS_FONT_METRICS_CID,
|
||||
|
|
|
@ -125,7 +125,7 @@ static NS_IMETHODIMP nsScriptableRegionConstructor(nsISupports *aOuter, REFNSIID
|
|||
return rv;
|
||||
}
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Gtk Font Metrics",
|
||||
NS_FONT_METRICS_CID,
|
||||
|
|
|
@ -99,7 +99,7 @@ nsScriptableRegionConstructor(nsISupports* aOuter, REFNSIID aIID, void** aResult
|
|||
return result->QueryInterface(aIID, aResult);
|
||||
}
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "nsFontMetrics",
|
||||
NS_FONT_METRICS_CID,
|
||||
|
|
|
@ -114,7 +114,7 @@ static NS_IMETHODIMP nsScriptableRegionConstructor(nsISupports *aOuter, REFNSIID
|
|||
return rv;
|
||||
}
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "OS/2 Font Metrics",
|
||||
NS_FONT_METRICS_CID,
|
||||
|
|
|
@ -114,7 +114,7 @@ static nsresult nsScriptableRegionConstructor(nsISupports *aOuter, REFNSIID aIID
|
|||
return rv;
|
||||
}
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Ph Font Metrics",
|
||||
NS_FONT_METRICS_CID,
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsDeviceContextPS)
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "GFX Postscript Device Context",
|
||||
NS_DEVICECONTEXTPS_CID,
|
||||
|
|
|
@ -101,7 +101,7 @@ static nsresult nsScriptableRegionConstructor(nsISupports *aOuter,REFNSIID aIID,
|
|||
return rv;
|
||||
}
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Qt Font Metrics",
|
||||
NS_FONT_METRICS_CID,
|
||||
|
|
|
@ -143,7 +143,7 @@ nsScriptableRegionConstructor(nsISupports* aOuter, REFNSIID aIID, void** aResult
|
|||
return rv;
|
||||
}
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "nsFontMetricsWin",
|
||||
NS_FONT_METRICS_CID,
|
||||
|
|
|
@ -113,7 +113,7 @@ static nsresult nsScriptableRegionConstructor(nsISupports *aOuter, REFNSIID aIID
|
|||
return rv;
|
||||
}
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Xlib Font Metrics",
|
||||
NS_FONT_METRICS_CID,
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsDeviceContextXp)
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "GFX Xprint Device Context",
|
||||
NS_DEVICECONTEXTXP_CID,
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(gfxImageFrame)
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "windows image frame",
|
||||
GFX_IMAGEFRAME_CID,
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(gfxImageFrameWin)
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "windows image frame",
|
||||
GFX_IMAGEFRAMEWIN_CID,
|
||||
|
|
|
@ -73,7 +73,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(CTransitionalDTD)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(CViewSourceHTML)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsParserService)
|
||||
|
||||
static nsModuleComponentInfo gComponents[] = {
|
||||
static const nsModuleComponentInfo gComponents[] = {
|
||||
|
||||
#ifdef NS_DEBUG
|
||||
{ "Logging sink", NS_LOGGING_SINK_CID, NULL, nsLoggingSinkConstructor },
|
||||
|
|
|
@ -65,7 +65,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsJAStringCharsetClassicDetector);
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsKOCharsetClassicDetector);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsKOStringCharsetClassicDetector);
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "Classic JA Charset Detector", NS_JA_CLASSIC_DETECTOR_CID,
|
||||
NS_CHARSET_DETECTOR_CONTRACTID_BASE "jaclassic", nsJACharsetClassicDetectorConstructor},
|
||||
{ "Classic JA String Charset Detector", NS_JA_CLASSIC_DETECTOR_CID,
|
||||
|
|
|
@ -405,7 +405,7 @@ static NS_METHOD nsUKProbDetectorRegistrationProc(nsIComponentManager *aCompMgr,
|
|||
}
|
||||
|
||||
// Component Table
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Meta Charset", NS_META_CHARSET_CID,
|
||||
NS_META_CHARSET_CONTRACTID, nsMetaCharsetObserverConstructor,
|
||||
|
|
|
@ -80,7 +80,7 @@ NS_IMETHODIMP nsI18nCompatibility::CSIDtoCharsetName(PRUint16 csid, PRUnichar **
|
|||
}
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsI18nCompatibility)
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "I18n compatibility", NS_I18NCOMPATIBILITY_CID,
|
||||
NS_I18NCOMPATIBILITY_CONTRACTID, nsI18nCompatibilityConstructor}
|
||||
|
|
|
@ -84,7 +84,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsDateTimeFormatMac)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsLanguageAtomService)
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo gComponents[] = {
|
||||
static const nsModuleComponentInfo gComponents[] = {
|
||||
{ "nsLocaleService component",
|
||||
NS_LOCALESERVICE_CID,
|
||||
NS_LOCALESERVICE_CONTRACTID,
|
||||
|
|
|
@ -69,7 +69,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsDateTimeFormatOS2)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsLanguageAtomService)
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo gComponents[] = {
|
||||
static const nsModuleComponentInfo gComponents[] = {
|
||||
{ "nsLocaleService component",
|
||||
NS_LOCALESERVICE_CID,
|
||||
NS_LOCALESERVICE_CONTRACTID,
|
||||
|
|
|
@ -77,7 +77,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsDateTimeFormatUnix)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsLanguageAtomService)
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo gComponents[] = {
|
||||
static const nsModuleComponentInfo gComponents[] = {
|
||||
{ "nsLocaleService component",
|
||||
NS_LOCALESERVICE_CID,
|
||||
NS_LOCALESERVICE_CONTRACTID,
|
||||
|
|
|
@ -77,7 +77,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsLanguageAtomService)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsFontPackageService)
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo gComponents[] = {
|
||||
static const nsModuleComponentInfo gComponents[] = {
|
||||
{ "nsLocaleService component",
|
||||
NS_LOCALESERVICE_CID,
|
||||
NS_LOCALESERVICE_CONTRACTID,
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsLWBreakerFImp)
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "Line and Word Breaker", NS_LWBRK_CID,
|
||||
NS_LWBRK_CONTRACTID, nsLWBreakerFImpConstructor}
|
||||
};
|
||||
|
|
|
@ -1004,7 +1004,7 @@ done:
|
|||
|
||||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsStringBundleService, Init)
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "String Bundle", NS_STRINGBUNDLESERVICE_CID, NS_STRINGBUNDLE_CONTRACTID, nsStringBundleServiceConstructor},
|
||||
};
|
||||
|
|
|
@ -110,7 +110,7 @@ nsConverterManagerDataRegister(nsIComponentManager* aCompMgr,
|
|||
return nsCharsetConverterManager::RegisterConverterManagerData();
|
||||
}
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{
|
||||
"Charset Conversion Manager", NS_ICHARSETCONVERTERMANAGER_CID,
|
||||
|
|
|
@ -108,7 +108,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToGB18030Font0);
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToGB18030Font1);
|
||||
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{
|
||||
DECODER_NAME_BASE "GB2312" , NS_GB2312TOUNICODE_CID,
|
||||
|
|
|
@ -103,7 +103,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToCP862);
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToCP864);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToCP864i);
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{
|
||||
DECODER_NAME_BASE "IBM850" , NS_CP850TOUNICODE_CID,
|
||||
|
|
|
@ -107,7 +107,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToJISx0201);
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToJISx0208);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToJISx0212);
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{
|
||||
DECODER_NAME_BASE "Shift_JIS" , NS_SJISTOUNICODE_CID,
|
||||
|
|
|
@ -111,7 +111,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsCP949ToUnicode);
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToCP949);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsISO2022KRToUnicode);
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{
|
||||
DECODER_NAME_BASE "EUC-KR" , NS_EUCKRTOUNICODE_CID,
|
||||
|
|
|
@ -428,7 +428,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMacGurmukhi);
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMacGujarati);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMacHebrew);
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{
|
||||
DECODER_NAME_BASE "us-ascii" , NS_ASCIITOUNICODE_CID,
|
||||
|
|
|
@ -116,7 +116,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMathematica4);
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMathematica5);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToMTExtra);
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
#if defined(XP_PC) || defined(XP_MAC)
|
||||
{
|
||||
|
|
|
@ -101,7 +101,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsBIG5HKSCSToUnicode);
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToBIG5HKSCS);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToHKSCS);
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{
|
||||
ENCODER_NAME_BASE "Big5" , NS_UNICODETOBIG5_CID,
|
||||
|
|
|
@ -153,7 +153,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToCNS11643p5);
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToCNS11643p6);
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsUnicodeToCNS11643p7);
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{
|
||||
DECODER_NAME_BASE "x-euc-tw" , NS_EUCTWTOUNICODE_CID,
|
||||
|
|
|
@ -96,7 +96,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsBidi)
|
|||
// Since our class still refer to this two per dll global leave it here untill
|
||||
// we change their code
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Unichar Utility", NS_UNICHARUTIL_CID,
|
||||
NS_UNICHARUTIL_CONTRACTID, nsCaseConversionImp2Constructor},
|
||||
|
|
|
@ -2837,7 +2837,7 @@ jsdASObserver::Observe (nsISupports *aSubject, const char *aTopic,
|
|||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(jsdASObserver);
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{"JSDService", JSDSERVICE_CID, jsdServiceCtrID, jsdServiceConstructor},
|
||||
{"JSDASObserver", JSDASO_CID, jsdASObserverCtrID, jsdASObserverConstructor}
|
||||
};
|
||||
|
|
|
@ -1347,7 +1347,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(mozJSComponentLoader);
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(mozJSSubScriptLoader);
|
||||
#endif
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "JS component loader", MOZJSCOMPONENTLOADER_CID,
|
||||
mozJSComponentLoaderContractID, mozJSComponentLoaderConstructor,
|
||||
RegisterJSLoader, UnregisterJSLoader },
|
||||
|
|
|
@ -325,7 +325,7 @@ nsXPCSample_HookerUpper::CreateSampleObjectAtGlobalScope(const char *name, PRInt
|
|||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsXPCSample_HookerUpper)
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "sample xpc component",
|
||||
{ 0x97380cf0, 0xc21b, 0x11d3, { 0x98, 0xc9, 0x0, 0x60, 0x8, 0x96, 0x24, 0x22 } },
|
||||
NS_NSXPCSAMPLE_HOOKERUPPER_CONTRACTID,
|
||||
|
|
|
@ -294,7 +294,7 @@ static JSBool gClassObjectsWereInited = JS_FALSE;
|
|||
NS_DECL_CI_INTERFACE_GETTER(nsJSIID)
|
||||
// Can't make this static. http://bugzilla.mozilla.org/show_bug.cgi?id=81436
|
||||
nsIClassInfo* NS_CLASSINFO_NAME(nsJSIID);
|
||||
static nsModuleComponentInfo CI_nsJSIID =
|
||||
static const nsModuleComponentInfo CI_nsJSIID =
|
||||
{"JSIID",
|
||||
{0x26ecb8d0, 0x35c9, 0x11d5, { 0x90, 0xb2, 0x0, 0x10, 0xa4, 0xe7, 0x3d, 0x9a }},
|
||||
nsnull, nsnull, nsnull,nsnull, nsnull,
|
||||
|
@ -305,7 +305,7 @@ static nsModuleComponentInfo CI_nsJSIID =
|
|||
NS_DECL_CI_INTERFACE_GETTER(nsJSCID)
|
||||
// Can't make this static. http://bugzilla.mozilla.org/show_bug.cgi?id=81436
|
||||
nsIClassInfo* NS_CLASSINFO_NAME(nsJSCID);
|
||||
static nsModuleComponentInfo CI_nsJSCID =
|
||||
static const nsModuleComponentInfo CI_nsJSCID =
|
||||
{"JSCID",
|
||||
{0x9255b5b0, 0x35cf, 0x11d5, { 0x90, 0xb2, 0x0, 0x10, 0xa4, 0xe7, 0x3d, 0x9a }},
|
||||
nsnull, nsnull, nsnull,nsnull, nsnull,
|
||||
|
|
|
@ -48,7 +48,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsScriptError)
|
|||
|
||||
NS_DECL_CLASSINFO(nsXPCException)
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{nsnull, NS_JS_ID_CID, XPC_ID_CONTRACTID, nsJSIDConstructor },
|
||||
{nsnull, NS_XPCONNECT_CID, XPC_XPCONNECT_CONTRACTID, nsIXPConnectConstructor },
|
||||
{nsnull, NS_XPC_THREAD_JSCONTEXT_STACK_CID, XPC_CONTEXT_STACK_CONTRACTID, nsIJSContextStackConstructor },
|
||||
|
|
|
@ -45,7 +45,7 @@ NS_DECL_CLASSINFO(xpcTestCallJS)
|
|||
NS_DECL_CLASSINFO(xpcTestChild2)
|
||||
|
||||
// XXX contractids need to be standardized!
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{nsnull, NS_ECHO_CID, "@mozilla.org/js/xpc/test/Echo;1", xpctest::ConstructEcho },
|
||||
{nsnull, NS_CHILD_CID, "@mozilla.org/js/xpc/test/Child;1", xpctest::ConstructChild },
|
||||
{nsnull, NS_NOISY_CID, "@mozilla.org/js/xpc/test/Noisy;1", xpctest::ConstructNoisy },
|
||||
|
|
|
@ -52,7 +52,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsXPCToolsProfiler)
|
|||
{ 0x7f5d12e0, 0xe97b, 0x11d3, \
|
||||
{ 0x8f, 0x69, 0x0, 0x10, 0xa4, 0xe7, 0x3d, 0x9a } }
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{nsnull, COMPILER_CID, XPCTOOLS_COMPILER_CONTRACTID, nsXPCToolsCompilerConstructor},
|
||||
{nsnull, PROFILER_CID, XPCTOOLS_PROFILER_CONTRACTID, nsXPCToolsProfilerConstructor}
|
||||
};
|
||||
|
|
|
@ -232,7 +232,7 @@ MAKE_CTOR(CreateNewOutlinerBoxObject, nsIBoxObject, NS_NewOutlinerBo
|
|||
MAKE_CTOR(CreateNewAutoCopyService, nsIAutoCopyService, NS_NewAutoCopyService)
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo gComponents[] = {
|
||||
static const nsModuleComponentInfo gComponents[] = {
|
||||
#ifdef DEBUG
|
||||
{ "Frame utility",
|
||||
NS_FRAME_UTIL_CID,
|
||||
|
|
|
@ -60,7 +60,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsAbSyncDriver)
|
|||
//
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Addressbook Sync",
|
||||
NS_ABSYNC_SERVICE_CID,
|
||||
|
|
|
@ -117,7 +117,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsAbLDAPAutoCompFormatter)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsAbDirectoryQueryProxy)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsAbView);
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Address Book",
|
||||
NS_ADDRESSBOOK_CID,
|
||||
|
|
|
@ -148,7 +148,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR_INIT(nsMessengerWinIntegration, Init);
|
|||
#endif
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo gComponents[] = {
|
||||
static const nsModuleComponentInfo gComponents[] = {
|
||||
{ "Netscape Messenger Bootstrapper", NS_MESSENGERBOOTSTRAP_CID,
|
||||
NS_MESSENGERBOOTSTRAP_CONTRACTID,
|
||||
nsMessengerBootstrapConstructor,
|
||||
|
|
|
@ -98,7 +98,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsURLFetcher);
|
|||
//
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Msg Compose",
|
||||
NS_MSGCOMPOSE_CID,
|
||||
|
|
|
@ -61,7 +61,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgRetentionSettings)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgDownloadSettings)
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo msgDB_components[] = {
|
||||
static const nsModuleComponentInfo msgDB_components[] = {
|
||||
{ "Mail DB", NS_MAILDB_CID, nsnull, nsMailDatabaseConstructor },
|
||||
{ "News DB", NS_NEWSDB_CID, nsnull, nsNewsDatabaseConstructor },
|
||||
{ "Imap DB", NS_IMAPDB_CID, nsnull, nsImapMailDatabaseConstructor },
|
||||
|
|
|
@ -58,7 +58,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgSMIMEComposeFields);
|
|||
//
|
||||
////////////////////////////////////////////////////////////
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Msg Compose Secure",
|
||||
NS_MSGCOMPOSESECURE_CID,
|
||||
|
|
|
@ -59,7 +59,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsImapMailFolder)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsImapMockChannel)
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo gComponents[] = {
|
||||
static const nsModuleComponentInfo gComponents[] = {
|
||||
{ "IMAP URL", NS_IMAPURL_CID,
|
||||
nsnull, nsImapUrlConstructor },
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ NS_METHOD EudoraRegister(nsIComponentManager *aCompMgr,
|
|||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsEudoraImport)
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "Text Import Component",
|
||||
NS_EUDORAIMPORT_CID,
|
||||
"@mozilla.org/import/import-eudora;1",
|
||||
|
|
|
@ -81,7 +81,7 @@ NS_METHOD OERegister(nsIComponentManager *aCompMgr,
|
|||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsOEImport)
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "Outlook Express Import Component",
|
||||
NS_OEIMPORT_CID,
|
||||
"@mozilla.org/import/import-oe;1",
|
||||
|
|
|
@ -81,7 +81,7 @@ NS_METHOD OutlookRegister(nsIComponentManager *aCompMgr,
|
|||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsOutlookImport)
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "Outlook Import Component",
|
||||
NS_OUTLOOKIMPORT_CID,
|
||||
"@mozilla.org/import/import-outlook;1",
|
||||
|
|
|
@ -50,7 +50,7 @@ extern NS_METHOD NS_NewImportService(nsISupports* aOuter, REFNSIID aIID, void **
|
|||
//----------------------------------------------------------------------
|
||||
|
||||
//----------------------------------------
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{
|
||||
"Import Service Component", NS_IMPORTSERVICE_CID,
|
||||
NS_IMPORTSERVICE_CONTRACTID, NS_NewImportService
|
||||
|
|
|
@ -62,7 +62,7 @@ NS_METHOD TextRegister(nsIComponentManager *aCompMgr,
|
|||
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsTextImport)
|
||||
|
||||
static nsModuleComponentInfo components[] = {
|
||||
static const nsModuleComponentInfo components[] = {
|
||||
{ "Text Import Component",
|
||||
NS_TEXTIMPORT_CID,
|
||||
"@mozilla.org/import/import-text;1",
|
||||
|
|
|
@ -80,7 +80,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsNoIncomingServer)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsLocalStringService)
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo gComponents[] = {
|
||||
static const nsModuleComponentInfo gComponents[] = {
|
||||
{ "Mailbox URL", NS_MAILBOXURL_CID,
|
||||
NS_MAILBOXURL_CONTRACTID, nsMailboxUrlConstructor },
|
||||
|
||||
|
|
|
@ -186,7 +186,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsMapiRegistry);
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMapiSupport);
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{
|
||||
NS_IMAPIREGISTRY_CLASSNAME,
|
||||
|
|
|
@ -63,7 +63,7 @@ static NS_IMETHODIMP streamConverterDestructor()
|
|||
}
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo gComponents[] = {
|
||||
static const nsModuleComponentInfo gComponents[] = {
|
||||
{ "MimeObjectClassAccess", NS_MIME_OBJECT_CLASS_ACCESS_CID,
|
||||
nsnull, nsMimeObjectClassAccessConstructor },
|
||||
|
||||
|
|
|
@ -91,7 +91,7 @@ nsCalendarMimeContentTypeHandlerConstructor(nsISupports *aOuter,
|
|||
// information like the function to create an instance, contractid, and
|
||||
// class name.
|
||||
//
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "MIME Calendar Handler", NS_CALENDAR_CONTENT_TYPE_HANDLER_CID, "@mozilla.org/mimecth;1?type=text/calendar",
|
||||
nsCalendarMimeContentTypeHandlerConstructor, }
|
||||
|
|
|
@ -112,7 +112,7 @@ nsSMimeMimeContentTypeHandlerConstructor(nsISupports *aOuter,
|
|||
// information like the function to create an instance, contractid, and
|
||||
// class name.
|
||||
//
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "MIME SMIMEStubed Mail Handler", NS_SMIME_CONTENT_TYPE_HANDLER_CID, "@mozilla.org/mimecth;1?type=application/x-pkcs7-mime",
|
||||
nsSMimeMimeContentTypeHandlerConstructor, },
|
||||
|
|
|
@ -94,7 +94,7 @@ nsVCardMimeContentTypeHandlerConstructor(nsISupports *aOuter,
|
|||
// information like the function to create an instance, contractid, and
|
||||
// class name.
|
||||
//
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "MIME VCard Handler", NS_VCARD_CONTENT_TYPE_HANDLER_CID, "@mozilla.org/mimecth;1?type=text/x-vcard",
|
||||
nsVCardMimeContentTypeHandlerConstructor, }
|
||||
|
|
|
@ -78,7 +78,7 @@ static NS_METHOD UnRegisterMimeEmitter(nsIComponentManager *aCompMgr,
|
|||
return NS_OK;
|
||||
}
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "HTML MIME Emitter",
|
||||
NS_HTML_MIME_EMITTER_CID,
|
||||
|
|
|
@ -70,7 +70,7 @@ NS_GENERIC_FACTORY_CONSTRUCTOR(nsNNTPNewsgroupList)
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsMsgNewsFolder)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsNewsDownloadDialogArgs)
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "NNTP URL",
|
||||
NS_NNTPURL_CID,
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
|
||||
static NS_DEFINE_CID(kGIFDecoderCID, NS_GIFDECODER_CID);
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "GIF Decoder",
|
||||
NS_GIFDECODER_CID,
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
extern nsRecyclingAllocator *gZlibAllocator;
|
||||
|
||||
// The list of components we register
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "Zip Reader",
|
||||
NS_ZIPREADER_CID,
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
#include "nsJARProtocolHandler.h"
|
||||
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "JAR Protocol Handler",
|
||||
NS_JARPROTOCOLHANDLER_CID,
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsICODecoder)
|
||||
NS_GENERIC_FACTORY_CONSTRUCTOR(nsBMPDecoder)
|
||||
|
||||
static nsModuleComponentInfo components[] =
|
||||
static const nsModuleComponentInfo components[] =
|
||||
{
|
||||
{ "ICO Decoder",
|
||||
NS_ICODECODER_CID,
|
||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче