зеркало из https://github.com/mozilla/gecko-dev.git
Check in for Ron Guilmette. r=shaver, sr=waterson. For intl r=nhotta. Changes for NS_IMPL_NSGETMODULE. bug #46775.
This commit is contained in:
Родитель
bcaa5cf548
Коммит
afdac97c93
|
@ -56,5 +56,5 @@ static nsModuleComponentInfo components[] =
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsAccessibilityModule", components);
|
NS_IMPL_NSGETMODULE(nsAccessibilityModule, components);
|
||||||
|
|
||||||
|
|
|
@ -64,6 +64,6 @@ static nsModuleComponentInfo components[] =
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsSecurityManagerModule", components);
|
NS_IMPL_NSGETMODULE(nsSecurityManagerModule, components);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -51,5 +51,5 @@ static nsModuleComponentInfo components[] =
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsChromeModule", components);
|
NS_IMPL_NSGETMODULE(nsChromeModule, components);
|
||||||
|
|
||||||
|
|
|
@ -51,7 +51,7 @@ static nsModuleComponentInfo components[] =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsMorkModule", components);
|
NS_IMPL_NSGETMODULE(nsMorkModule, components);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -87,7 +87,7 @@ static nsModuleComponentInfo components[] =
|
||||||
|
|
||||||
// implement the NSGetModule() exported function
|
// implement the NSGetModule() exported function
|
||||||
//
|
//
|
||||||
NS_IMPL_NSGETMODULE("nsLDAPProtocolModule", components);
|
NS_IMPL_NSGETMODULE(nsLDAPProtocolModule, components);
|
||||||
|
|
||||||
#ifdef PR_LOGGING
|
#ifdef PR_LOGGING
|
||||||
PRLogModuleInfo *gLDAPLogModule = 0;
|
PRLogModuleInfo *gLDAPLogModule = 0;
|
||||||
|
|
|
@ -50,5 +50,5 @@ static nsModuleComponentInfo gDocShellModuleInfo[] = {
|
||||||
|
|
||||||
// "docshell provider" to illustrate that this thing really *should*
|
// "docshell provider" to illustrate that this thing really *should*
|
||||||
// be dispensing docshells rather than webshells.
|
// be dispensing docshells rather than webshells.
|
||||||
NS_IMPL_NSGETMODULE("docshell provider", gDocShellModuleInfo)
|
NS_IMPL_NSGETMODULE(docshell_provider, gDocShellModuleInfo)
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
|
|
||||||
#include "nsJSEnvironment.h"
|
#include "nsJSEnvironment.h"
|
||||||
#include "nsIScriptGlobalObject.h"
|
#include "nsIScriptGlobalObject.h"
|
||||||
|
#include "nsIGenericFactory.h"
|
||||||
#include "nsDOMCID.h"
|
#include "nsDOMCID.h"
|
||||||
#include "nsIDOMScriptObjectFactory.h"
|
#include "nsIDOMScriptObjectFactory.h"
|
||||||
#include "nsIDOMNativeObjectRegistry.h"
|
#include "nsIDOMNativeObjectRegistry.h"
|
||||||
|
@ -700,109 +701,20 @@ nsDOMScriptObjectFactory::NewScriptPkcs11(nsIScriptContext *aContext,
|
||||||
//////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
static NS_DEFINE_CID(kCDOMScriptObjectFactory, NS_DOM_SCRIPT_OBJECT_FACTORY_CID);
|
NS_GENERIC_FACTORY_CONSTRUCTOR(nsDOMScriptObjectFactory);
|
||||||
static NS_DEFINE_CID(kCDOMNativeObjectRegistry, NS_DOM_NATIVE_OBJECT_REGISTRY_CID);
|
NS_GENERIC_FACTORY_CONSTRUCTOR(nsDOMNativeObjectRegistry);
|
||||||
static NS_DEFINE_CID(kCScriptNameSetRegistry, NS_SCRIPT_NAMESET_REGISTRY_CID);
|
NS_GENERIC_FACTORY_CONSTRUCTOR(nsScriptNameSetRegistry);
|
||||||
|
|
||||||
class nsDOMFactory : public nsIFactory
|
static nsModuleComponentInfo components[] = {
|
||||||
{
|
{ "Script Object Factory", NS_DOM_SCRIPT_OBJECT_FACTORY_CID, nsnull,
|
||||||
public:
|
nsDOMScriptObjectFactoryConstructor },
|
||||||
NS_DECL_ISUPPORTS
|
{ "Native Object Registry", NS_DOM_NATIVE_OBJECT_REGISTRY_CID, nsnull,
|
||||||
|
nsDOMNativeObjectRegistryConstructor },
|
||||||
NS_DECL_NSIFACTORY
|
{ "Script Name Set Registry", NS_SCRIPT_NAMESET_REGISTRY_CID, nsnull,
|
||||||
|
nsScriptNameSetRegistryConstructor }
|
||||||
nsDOMFactory(const nsCID &aClass);
|
};
|
||||||
|
|
||||||
protected:
|
|
||||||
virtual ~nsDOMFactory();
|
|
||||||
|
|
||||||
private:
|
|
||||||
nsCID mClassID;
|
|
||||||
};
|
|
||||||
|
|
||||||
nsDOMFactory::nsDOMFactory(const nsCID &aClass)
|
|
||||||
{
|
|
||||||
NS_INIT_ISUPPORTS();
|
|
||||||
mClassID = aClass;
|
|
||||||
}
|
|
||||||
|
|
||||||
nsDOMFactory::~nsDOMFactory()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_IMPL_ISUPPORTS(nsDOMFactory, NS_GET_IID(nsIFactory))
|
|
||||||
|
|
||||||
nsresult nsDOMFactory::CreateInstance(nsISupports *aOuter,
|
|
||||||
const nsIID &aIID,
|
|
||||||
void **aResult)
|
|
||||||
{
|
|
||||||
if (aResult == NULL) {
|
|
||||||
return NS_ERROR_NULL_POINTER;
|
|
||||||
}
|
|
||||||
|
|
||||||
*aResult = NULL;
|
|
||||||
|
|
||||||
nsISupports *inst = nsnull;
|
|
||||||
|
|
||||||
if (mClassID.Equals(kCDOMScriptObjectFactory)) {
|
|
||||||
inst = (nsISupports *)new nsDOMScriptObjectFactory();
|
|
||||||
}
|
|
||||||
else if (mClassID.Equals(kCDOMNativeObjectRegistry)) {
|
|
||||||
inst = (nsISupports *)new nsDOMNativeObjectRegistry();
|
|
||||||
}
|
|
||||||
else if (mClassID.Equals(kCScriptNameSetRegistry)) {
|
|
||||||
inst = (nsISupports *)new nsScriptNameSetRegistry();
|
|
||||||
}
|
|
||||||
|
|
||||||
if (inst == NULL) {
|
|
||||||
return NS_ERROR_OUT_OF_MEMORY;
|
|
||||||
}
|
|
||||||
|
|
||||||
NS_ADDREF(inst); // Stabilize
|
|
||||||
|
|
||||||
nsresult res = inst->QueryInterface(aIID, aResult);
|
|
||||||
|
|
||||||
NS_RELEASE(inst); // Destabilize and avoid leaks. Avoid calling delete <interface pointer>
|
|
||||||
|
|
||||||
return res;
|
|
||||||
}
|
|
||||||
|
|
||||||
nsresult nsDOMFactory::LockFactory(PRBool aLock)
|
|
||||||
{
|
|
||||||
// Not implemented in simplest case.
|
|
||||||
return NS_OK;
|
|
||||||
}
|
|
||||||
|
|
||||||
// return the proper factory to the caller
|
|
||||||
#if defined(XP_MAC) && defined(MAC_STATIC)
|
|
||||||
extern "C" NS_DOM nsresult
|
|
||||||
NSGetFactory_DOM_DLL(nsISupports* servMgr,
|
|
||||||
const nsCID &aClass,
|
|
||||||
const char *aClassName,
|
|
||||||
const char *aContractID,
|
|
||||||
nsIFactory **aFactory)
|
|
||||||
#else
|
|
||||||
extern "C" NS_DOM nsresult
|
|
||||||
NSGetFactory(nsISupports* servMgr,
|
|
||||||
const nsCID &aClass,
|
|
||||||
const char *aClassName,
|
|
||||||
const char *aContractID,
|
|
||||||
nsIFactory **aFactory)
|
|
||||||
#endif
|
|
||||||
{
|
|
||||||
if (nsnull == aFactory) {
|
|
||||||
return NS_ERROR_NULL_POINTER;
|
|
||||||
}
|
|
||||||
|
|
||||||
*aFactory = new nsDOMFactory(aClass);
|
|
||||||
|
|
||||||
if (nsnull == aFactory) {
|
|
||||||
return NS_ERROR_OUT_OF_MEMORY;
|
|
||||||
}
|
|
||||||
|
|
||||||
return (*aFactory)->QueryInterface(NS_GET_IID(nsIFactory), (void**)aFactory);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
NS_IMPL_NSGETMODULE(DOM_components, components);
|
||||||
|
|
||||||
void XXXDomNeverCalled();
|
void XXXDomNeverCalled();
|
||||||
void XXXDomNeverCalled()
|
void XXXDomNeverCalled()
|
||||||
|
|
|
@ -517,6 +517,6 @@ static nsModuleComponentInfo gJSModuleInfo[] = {
|
||||||
nsJSProtocolHandler::Create }
|
nsJSProtocolHandler::Create }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("javascript: protocol", gJSModuleInfo)
|
NS_IMPL_NSGETMODULE(javascript__protocol, gJSModuleInfo)
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -101,4 +101,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
// Implement the NSGetModule() exported function for your module
|
// Implement the NSGetModule() exported function for your module
|
||||||
// and the entire implementation of the module object.
|
// and the entire implementation of the module object.
|
||||||
//
|
//
|
||||||
NS_IMPL_NSGETMODULE("nsEditorModule", components)
|
NS_IMPL_NSGETMODULE(nsEditorModule, components)
|
||||||
|
|
|
@ -55,4 +55,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
// Implement the NSGetModule() exported function for your module
|
// Implement the NSGetModule() exported function for your module
|
||||||
// and the entire implementation of the module object.
|
// and the entire implementation of the module object.
|
||||||
//
|
//
|
||||||
NS_IMPL_NSGETMODULE("nsEditorModule", components)
|
NS_IMPL_NSGETMODULE(nsEditorModule, components)
|
||||||
|
|
|
@ -101,4 +101,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
// Implement the NSGetModule() exported function for your module
|
// Implement the NSGetModule() exported function for your module
|
||||||
// and the entire implementation of the module object.
|
// and the entire implementation of the module object.
|
||||||
//
|
//
|
||||||
NS_IMPL_NSGETMODULE("nsEditorModule", components)
|
NS_IMPL_NSGETMODULE(nsEditorModule, components)
|
||||||
|
|
|
@ -55,4 +55,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
// Implement the NSGetModule() exported function for your module
|
// Implement the NSGetModule() exported function for your module
|
||||||
// and the entire implementation of the module object.
|
// and the entire implementation of the module object.
|
||||||
//
|
//
|
||||||
NS_IMPL_NSGETMODULE("nsEditorModule", components)
|
NS_IMPL_NSGETMODULE(nsEditorModule, components)
|
||||||
|
|
|
@ -54,4 +54,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
// Implement the NSGetModule() exported function for your module
|
// Implement the NSGetModule() exported function for your module
|
||||||
// and the entire implementation of the module object.
|
// and the entire implementation of the module object.
|
||||||
//
|
//
|
||||||
NS_IMPL_NSGETMODULE("nsTextServicesModule", components)
|
NS_IMPL_NSGETMODULE(nsTextServicesModule, components)
|
||||||
|
|
|
@ -46,4 +46,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
// Implement the NSGetModule() exported function for your module
|
// Implement the NSGetModule() exported function for your module
|
||||||
// and the entire implementation of the module object.
|
// and the entire implementation of the module object.
|
||||||
//
|
//
|
||||||
NS_IMPL_NSGETMODULE("nsTransactionManagerModule", components)
|
NS_IMPL_NSGETMODULE(nsTransactionManagerModule, components)
|
||||||
|
|
|
@ -54,4 +54,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
// Implement the NSGetModule() exported function for your module
|
// Implement the NSGetModule() exported function for your module
|
||||||
// and the entire implementation of the module object.
|
// and the entire implementation of the module object.
|
||||||
//
|
//
|
||||||
NS_IMPL_NSGETMODULE("nsTextServicesModule", components)
|
NS_IMPL_NSGETMODULE(nsTextServicesModule, components)
|
||||||
|
|
|
@ -49,7 +49,7 @@ static nsModuleComponentInfo components[] =
|
||||||
|
|
||||||
// NSGetModule implementation.
|
// NSGetModule implementation.
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("Browser Embedding Module", components)
|
NS_IMPL_NSGETMODULE(Browser_Embedding_Module, components)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -42,4 +42,4 @@ static nsModuleComponentInfo gComponents[] = {
|
||||||
{ NS_APPSTARTUPNOTIFIER_CLASSNAME, NS_APPSTARTUPNOTIFIER_CID, NS_APPSTARTUPNOTIFIER_CONTRACTID, nsAppStartupNotifierConstructor }
|
{ NS_APPSTARTUPNOTIFIER_CLASSNAME, NS_APPSTARTUPNOTIFIER_CID, NS_APPSTARTUPNOTIFIER_CONTRACTID, nsAppStartupNotifierConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("embedcomponents", gComponents)
|
NS_IMPL_NSGETMODULE(embedcomponents, gComponents)
|
||||||
|
|
|
@ -87,7 +87,7 @@ static nsModuleComponentInfo components[] =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR("nsAccessProxy", components, AccessProxyModuleDtor)
|
NS_IMPL_NSGETMODULE_WITH_DTOR(nsAccessProxy, components, AccessProxyModuleDtor)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -81,4 +81,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsCookieModule", components)
|
NS_IMPL_NSGETMODULE(nsCookieModule, components)
|
||||||
|
|
|
@ -31,4 +31,4 @@ static nsModuleComponentInfo gResComponents[] = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("datetime", gResComponents)
|
NS_IMPL_NSGETMODULE(datetime, gResComponents)
|
||||||
|
|
|
@ -31,4 +31,4 @@ static nsModuleComponentInfo gResComponents[] = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("finger", gResComponents)
|
NS_IMPL_NSGETMODULE(finger, gResComponents)
|
||||||
|
|
|
@ -53,4 +53,4 @@ static nsModuleComponentInfo components[] =
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsInspectorModule", components)
|
NS_IMPL_NSGETMODULE(nsInspectorModule, components)
|
||||||
|
|
|
@ -1403,4 +1403,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
// Implement the NSGetModule() exported function for your module
|
// Implement the NSGetModule() exported function for your module
|
||||||
// and the entire implementation of the module object.
|
// and the entire implementation of the module object.
|
||||||
//
|
//
|
||||||
NS_IMPL_NSGETMODULE("nsPICSModule", components)
|
NS_IMPL_NSGETMODULE(nsPICSModule, components)
|
||||||
|
|
|
@ -175,4 +175,4 @@ static nsModuleComponentInfo components[] =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("PSMComponent", components);
|
NS_IMPL_NSGETMODULE(PSMComponent, components);
|
||||||
|
|
|
@ -195,4 +195,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
nsSyncLoaderConstructor }
|
nsSyncLoaderConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("TransformiixModule", components)
|
NS_IMPL_NSGETMODULE(TransformiixModule, components)
|
||||||
|
|
|
@ -33,4 +33,4 @@ static nsModuleComponentInfo components[] =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsVixenModule", components)
|
NS_IMPL_NSGETMODULE(nsVixenModule, components)
|
||||||
|
|
|
@ -42,5 +42,5 @@ static nsModuleComponentInfo components[] = {
|
||||||
"@mozilla.org/walleteditor/walleteditor-world;1", WalletEditorImplConstructor },
|
"@mozilla.org/walleteditor/walleteditor-world;1", WalletEditorImplConstructor },
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsWalletViewerModule", components)
|
NS_IMPL_NSGETMODULE(nsWalletViewerModule, components)
|
||||||
|
|
||||||
|
|
|
@ -42,4 +42,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
NS_SINGLESIGNONPROMPT_CONTRACTID, nsSingleSignOnPromptConstructor }
|
NS_SINGLESIGNONPROMPT_CONTRACTID, nsSingleSignOnPromptConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsWalletModule", components)
|
NS_IMPL_NSGETMODULE(nsWalletModule, components)
|
||||||
|
|
|
@ -231,4 +231,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsXMLExtrasModule", components)
|
NS_IMPL_NSGETMODULE(nsXMLExtrasModule, components)
|
||||||
|
|
|
@ -173,4 +173,4 @@ static nsModuleComponentInfo components[] =
|
||||||
nsScreenManagerBeOSConstructor }
|
nsScreenManagerBeOSConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsGfxBeOSModule", components)
|
NS_IMPL_NSGETMODULE(nsGfxBeOSModule, components)
|
||||||
|
|
|
@ -186,5 +186,5 @@ nsGfxGTKModuleDtor(nsIModule *self)
|
||||||
nsRenderingContextGTK::Shutdown();
|
nsRenderingContextGTK::Shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR("nsGfxGTKModule", components, nsGfxGTKModuleDtor)
|
NS_IMPL_NSGETMODULE_WITH_DTOR(nsGfxGTKModule, components, nsGfxGTKModuleDtor)
|
||||||
|
|
||||||
|
|
|
@ -186,5 +186,5 @@ nsGfxOS2ModuleDtor(nsIModule *self)
|
||||||
// nsRenderingContextOS2::Shutdown();
|
// nsRenderingContextOS2::Shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR("nsGfxOS2Module", components, nsGfxOS2ModuleDtor)
|
NS_IMPL_NSGETMODULE_WITH_DTOR(nsGfxOS2Module, components, nsGfxOS2ModuleDtor)
|
||||||
|
|
||||||
|
|
|
@ -161,5 +161,5 @@ static nsModuleComponentInfo components[] =
|
||||||
nsScreenManagerPhConstructor }
|
nsScreenManagerPhConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsGfxPhModule", components)
|
NS_IMPL_NSGETMODULE(nsGfxPhModule, components)
|
||||||
|
|
||||||
|
|
|
@ -38,5 +38,5 @@ static nsModuleComponentInfo components[] =
|
||||||
nsDeviceContextPSConstructor }
|
nsDeviceContextPSConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsGfxPSModule", components)
|
NS_IMPL_NSGETMODULE(nsGfxPSModule, components)
|
||||||
|
|
||||||
|
|
|
@ -154,5 +154,5 @@ static nsModuleComponentInfo components[] =
|
||||||
nsScreenManagerQTConstructor }
|
nsScreenManagerQTConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsGfxQTModule", components)
|
NS_IMPL_NSGETMODULE(nsGfxQTModule, components)
|
||||||
|
|
||||||
|
|
|
@ -175,5 +175,5 @@ static nsModuleComponentInfo components[] =
|
||||||
nsScreenManagerXlibConstructor }
|
nsScreenManagerXlibConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsGfxXlibModule", components)
|
NS_IMPL_NSGETMODULE(nsGfxXlibModule, components)
|
||||||
|
|
||||||
|
|
|
@ -42,4 +42,4 @@ static nsModuleComponentInfo components[] =
|
||||||
nsDeviceContextXPConstructor }
|
nsDeviceContextXPConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsGfxXPModule", components)
|
NS_IMPL_NSGETMODULE(nsGfxXPModule, components)
|
||||||
|
|
|
@ -38,5 +38,5 @@ static nsModuleComponentInfo components[] =
|
||||||
gfxImageFrameConstructor, },
|
gfxImageFrameConstructor, },
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsGfx2Module", components)
|
NS_IMPL_NSGETMODULE(nsGfx2Module, components)
|
||||||
|
|
||||||
|
|
|
@ -30,6 +30,9 @@
|
||||||
#include "nsIStringCharsetDetector.h"
|
#include "nsIStringCharsetDetector.h"
|
||||||
#include "nsICharsetDetectionAdaptor.h"
|
#include "nsICharsetDetectionAdaptor.h"
|
||||||
|
|
||||||
|
#define g_InstanceCount nsCharDetModule_g_InstanceCount
|
||||||
|
#define g_LockCount nsCharDetModule_g_LockCount
|
||||||
|
|
||||||
extern "C" PRInt32 g_InstanceCount;
|
extern "C" PRInt32 g_InstanceCount;
|
||||||
extern "C" PRInt32 g_LockCount;
|
extern "C" PRInt32 g_LockCount;
|
||||||
|
|
||||||
|
|
|
@ -469,5 +469,5 @@ static nsModuleComponentInfo components[] =
|
||||||
#endif /* INCLUDE_DBGDETECTOR */
|
#endif /* INCLUDE_DBGDETECTOR */
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsCharDetModule", components)
|
NS_IMPL_NSGETMODULE(nsCharDetModule, components)
|
||||||
|
|
||||||
|
|
|
@ -69,4 +69,4 @@ static nsModuleComponentInfo components[] =
|
||||||
NS_I18NCOMPATIBILITY_CONTRACTID, nsI18nCompatibilityConstructor}
|
NS_I18NCOMPATIBILITY_CONTRACTID, nsI18nCompatibilityConstructor}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("I18nCompatibility", components)
|
NS_IMPL_NSGETMODULE(I18nCompatibility, components)
|
||||||
|
|
|
@ -25,6 +25,9 @@
|
||||||
|
|
||||||
#include "prtypes.h"
|
#include "prtypes.h"
|
||||||
|
|
||||||
|
#define g_InstanceCount lwbrk_g_InstanceCount
|
||||||
|
#define g_LockCount lwbrk_g_LockCount
|
||||||
|
|
||||||
extern "C" PRInt32 g_InstanceCount;
|
extern "C" PRInt32 g_InstanceCount;
|
||||||
extern "C" PRInt32 g_LockCount;
|
extern "C" PRInt32 g_LockCount;
|
||||||
|
|
||||||
|
|
|
@ -37,4 +37,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
NS_LWBRK_CONTRACTID, nsLWBreakerFImpConstructor}
|
NS_LWBRK_CONTRACTID, nsLWBreakerFImpConstructor}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsLWBrkModule", components);
|
NS_IMPL_NSGETMODULE(nsLWBrkModule, components);
|
||||||
|
|
|
@ -1092,5 +1092,5 @@ static nsModuleComponentInfo components[] =
|
||||||
{ "Accept Language", NS_ACCEPTLANG_CID, NS_ACCEPTLANG_CONTRACTID, nsAcceptLangConstructor}
|
{ "Accept Language", NS_ACCEPTLANG_CID, NS_ACCEPTLANG_CONTRACTID, nsAcceptLangConstructor}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsStringBundleModule", components)
|
NS_IMPL_NSGETMODULE(nsStringBundleModule, components)
|
||||||
|
|
||||||
|
|
|
@ -28,4 +28,5 @@
|
||||||
extern "C" PRInt32 g_InstanceCount;
|
extern "C" PRInt32 g_InstanceCount;
|
||||||
extern "C" PRInt32 g_LockCount;
|
extern "C" PRInt32 g_LockCount;
|
||||||
|
|
||||||
|
#define g_AsciiMapping ucvcn_g_AsciiMapping
|
||||||
#endif /* nsUCvCnDll_h___ */
|
#endif /* nsUCvCnDll_h___ */
|
||||||
|
|
|
@ -161,4 +161,4 @@ static nsModuleComponentInfo components[] =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsUCvCnModule", components);
|
NS_IMPL_NSGETMODULE(nsUCvCnModule, components);
|
||||||
|
|
|
@ -194,5 +194,5 @@ static nsModuleComponentInfo components[] =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsUCvIBMModule", components);
|
NS_IMPL_NSGETMODULE(nsUCvIBMModule, components);
|
||||||
|
|
||||||
|
|
|
@ -152,5 +152,5 @@ static nsModuleComponentInfo components[] =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsUCvJAModule", components);
|
NS_IMPL_NSGETMODULE(nsUCvJAModule, components);
|
||||||
|
|
||||||
|
|
|
@ -31,6 +31,7 @@ extern "C" PRInt32 g_LockCount;
|
||||||
|
|
||||||
extern "C" PRUint16 g_utKSC5601Mapping[];
|
extern "C" PRUint16 g_utKSC5601Mapping[];
|
||||||
extern "C" PRUint16 g_ufKSC5601Mapping[];
|
extern "C" PRUint16 g_ufKSC5601Mapping[];
|
||||||
|
#define g_AsciiMapping ucvko_g_AsciiMapping
|
||||||
extern "C" PRUint16 g_AsciiMapping[];
|
extern "C" PRUint16 g_AsciiMapping[];
|
||||||
extern "C" PRUint16 g_HangulNullMapping[];
|
extern "C" PRUint16 g_HangulNullMapping[];
|
||||||
|
|
||||||
|
|
|
@ -117,5 +117,5 @@ static nsModuleComponentInfo components[] =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsUCvKoModule", components);
|
NS_IMPL_NSGETMODULE(nsUCvKoModule, components);
|
||||||
|
|
||||||
|
|
|
@ -25,6 +25,9 @@
|
||||||
|
|
||||||
#include "prtypes.h"
|
#include "prtypes.h"
|
||||||
|
|
||||||
|
#define g_InstanceCount ucvlatin_g_InstanceCount
|
||||||
|
#define g_LockCount ucvlatin_g_LockCount
|
||||||
|
|
||||||
extern PRInt32 g_InstanceCount;
|
extern PRInt32 g_InstanceCount;
|
||||||
extern PRInt32 g_LockCount;
|
extern PRInt32 g_LockCount;
|
||||||
|
|
||||||
|
|
|
@ -1103,5 +1103,5 @@ static nsModuleComponentInfo components[] =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsUCvLatinModule", components);
|
NS_IMPL_NSGETMODULE(nsUCvLatinModule, components);
|
||||||
|
|
||||||
|
|
|
@ -204,5 +204,5 @@ static nsModuleComponentInfo components[] =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsUCvMathModule", components);
|
NS_IMPL_NSGETMODULE(nsUCvMathModule, components);
|
||||||
|
|
||||||
|
|
|
@ -119,5 +119,5 @@ static nsModuleComponentInfo components[] =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsUCvTWModule", components);
|
NS_IMPL_NSGETMODULE(nsUCvTWModule, components);
|
||||||
|
|
||||||
|
|
|
@ -198,4 +198,4 @@ static nsModuleComponentInfo components[] =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsUCvTW2Module", components);
|
NS_IMPL_NSGETMODULE(nsUCvTW2Module, components);
|
||||||
|
|
|
@ -25,6 +25,9 @@
|
||||||
|
|
||||||
#include "prtypes.h"
|
#include "prtypes.h"
|
||||||
|
|
||||||
|
#define g_InstanceCount nsUcharUtilModule_g_InstanceCount
|
||||||
|
#define g_LockCount nsUcharUtilModule_g_LockCount
|
||||||
|
|
||||||
extern "C" PRInt32 g_InstanceCount;
|
extern "C" PRInt32 g_InstanceCount;
|
||||||
extern "C" PRInt32 g_LockCount;
|
extern "C" PRInt32 g_LockCount;
|
||||||
|
|
||||||
|
|
|
@ -101,5 +101,5 @@ static nsModuleComponentInfo components[] =
|
||||||
#endif // IBMBIDI
|
#endif // IBMBIDI
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("UcharUtil", components)
|
NS_IMPL_NSGETMODULE(UcharUtil, components)
|
||||||
|
|
||||||
|
|
|
@ -1324,4 +1324,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("JS component loader", components);
|
NS_IMPL_NSGETMODULE(JS_component_loader, components);
|
||||||
|
|
|
@ -332,5 +332,5 @@ static nsModuleComponentInfo components[] = {
|
||||||
nsXPCSample_HookerUpperConstructor }
|
nsXPCSample_HookerUpperConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("xpconnect samples", components)
|
NS_IMPL_NSGETMODULE(xpconnect_samples, components)
|
||||||
|
|
||||||
|
|
|
@ -65,4 +65,4 @@ xpcModuleDtor(nsIModule* self)
|
||||||
nsJSRuntimeServiceImpl::FreeSingleton();
|
nsJSRuntimeServiceImpl::FreeSingleton();
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR("xpconnect", components, xpcModuleDtor)
|
NS_IMPL_NSGETMODULE_WITH_DTOR(xpconnect, components, xpcModuleDtor)
|
||||||
|
|
|
@ -68,5 +68,5 @@ static nsModuleComponentInfo components[] = {
|
||||||
{nsnull, NS_XPCTESTDOMSTRING_CID, "@mozilla.org/js/xpc/test/DOMString;1", xpctest::ConstructXPCTestDOMString }
|
{nsnull, NS_XPCTESTDOMSTRING_CID, "@mozilla.org/js/xpc/test/DOMString;1", xpctest::ConstructXPCTestDOMString }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("xpconnect test", components)
|
NS_IMPL_NSGETMODULE(xpconnect_test, components)
|
||||||
|
|
||||||
|
|
|
@ -57,4 +57,4 @@ static nsModuleComponentInfo components[] = {
|
||||||
{nsnull, PROFILER_CID, XPCTOOLS_PROFILER_CONTRACTID, nsXPCToolsProfilerConstructor}
|
{nsnull, PROFILER_CID, XPCTOOLS_PROFILER_CONTRACTID, nsXPCToolsProfilerConstructor}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("xpctools", components)
|
NS_IMPL_NSGETMODULE(xpctools, components)
|
||||||
|
|
|
@ -61,4 +61,4 @@ static nsModuleComponentInfo components[] =
|
||||||
nsAbSyncDriverConstructor }
|
nsAbSyncDriverConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsAbSyncModule", components)
|
NS_IMPL_NSGETMODULE(nsAbSyncModule, components)
|
||||||
|
|
|
@ -154,4 +154,4 @@ static nsModuleComponentInfo components[] =
|
||||||
nsAddbookProtocolHandler::Create }
|
nsAddbookProtocolHandler::Create }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsAbModule", components)
|
NS_IMPL_NSGETMODULE(nsAbModule, components)
|
||||||
|
|
|
@ -294,5 +294,5 @@ static nsModuleComponentInfo gComponents[] = {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsMsgBaseModule", gComponents)
|
NS_IMPL_NSGETMODULE(nsMsgBaseModule, gComponents)
|
||||||
|
|
||||||
|
|
|
@ -184,4 +184,4 @@ static nsModuleComponentInfo components[] =
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsMsgComposeModule", components)
|
NS_IMPL_NSGETMODULE(nsMsgComposeModule, components)
|
||||||
|
|
|
@ -79,4 +79,4 @@ static nsModuleComponentInfo gComponents[] = {
|
||||||
NS_IMAPPROTOCOLINFO_CONTRACTID, nsImapServiceConstructor }
|
NS_IMAPPROTOCOLINFO_CONTRACTID, nsImapServiceConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("IMAP factory", gComponents);
|
NS_IMPL_NSGETMODULE(IMAP_factory, gComponents);
|
||||||
|
|
|
@ -79,5 +79,5 @@ eudoraModuleDtor(nsIModule* self)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR("nsEudoraImportModule", components, eudoraModuleDtor)
|
NS_IMPL_NSGETMODULE_WITH_DTOR(nsEudoraImportModule, components, eudoraModuleDtor)
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@ oeModuleDtor(nsIModule* self)
|
||||||
nsOEStringBundle::Cleanup();
|
nsOEStringBundle::Cleanup();
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR("nsOEImport", components, oeModuleDtor)
|
NS_IMPL_NSGETMODULE_WITH_DTOR(nsOEImport, components, oeModuleDtor)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -83,5 +83,5 @@ outlookModuleDtor(nsIModule* self)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR("nsOutlookImport", components, outlookModuleDtor)
|
NS_IMPL_NSGETMODULE_WITH_DTOR(nsOutlookImport, components, outlookModuleDtor)
|
||||||
|
|
||||||
|
|
|
@ -53,6 +53,6 @@ importModuleDtor(nsIModule* self)
|
||||||
nsImportStringBundle::Cleanup();
|
nsImportStringBundle::Cleanup();
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR( "nsImportServiceModule", components, importModuleDtor)
|
NS_IMPL_NSGETMODULE_WITH_DTOR( nsImportServiceModule, components, importModuleDtor)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -79,6 +79,6 @@ textModuleDtor(nsIModule* self)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR("nsTextImportModule", components, textModuleDtor)
|
NS_IMPL_NSGETMODULE_WITH_DTOR(nsTextImportModule, components, textModuleDtor)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -136,5 +136,5 @@ static nsModuleComponentInfo gComponents[] = {
|
||||||
NS_MSG_POPSTRINGSERVICE_CONTRACTID, nsLocalStringServiceConstructor },
|
NS_MSG_POPSTRINGSERVICE_CONTRACTID, nsLocalStringServiceConstructor },
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("local mail services", gComponents);
|
NS_IMPL_NSGETMODULE(local_mail_services, gComponents);
|
||||||
|
|
||||||
|
|
|
@ -76,4 +76,4 @@ static nsModuleComponentInfo gComponents[] = {
|
||||||
nsnull, nsMimeHeadersConstructor }
|
nsnull, nsMimeHeadersConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("mime services", gComponents)
|
NS_IMPL_NSGETMODULE(mime_services, gComponents)
|
||||||
|
|
|
@ -51,5 +51,5 @@ static nsModuleComponentInfo components[] =
|
||||||
// Implement the NSGetModule() exported function for your module
|
// Implement the NSGetModule() exported function for your module
|
||||||
// and the entire implementation of the module object.
|
// and the entire implementation of the module object.
|
||||||
//
|
//
|
||||||
NS_IMPL_NSGETMODULE("nsVCardModule", components)
|
NS_IMPL_NSGETMODULE(nsVCardModule, components)
|
||||||
|
|
||||||
|
|
|
@ -62,4 +62,4 @@ static nsModuleComponentInfo components[] =
|
||||||
nsMimeXULEmitterConstructor }
|
nsMimeXULEmitterConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsMimeEmitterModule", components)
|
NS_IMPL_NSGETMODULE(nsMimeEmitterModule, components)
|
||||||
|
|
|
@ -125,6 +125,6 @@ static nsModuleComponentInfo components[] =
|
||||||
nsNewsDownloadDialogArgsConstructor }
|
nsNewsDownloadDialogArgsConstructor }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsMsgNewsModule", components)
|
NS_IMPL_NSGETMODULE(nsMsgNewsModule, components)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -36,5 +36,5 @@ static nsModuleComponentInfo components[] =
|
||||||
GIFDecoder::Create }
|
GIFDecoder::Create }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsGIFModule", components)
|
NS_IMPL_NSGETMODULE(nsGIFModule, components)
|
||||||
|
|
||||||
|
|
|
@ -37,4 +37,4 @@ static nsModuleComponentInfo components[] =
|
||||||
JPGDecoder::Create }
|
JPGDecoder::Create }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsJPGModule", components)
|
NS_IMPL_NSGETMODULE(nsJPGModule, components)
|
||||||
|
|
|
@ -41,4 +41,4 @@ static nsModuleComponentInfo components[] =
|
||||||
MNGDecoder::Create }
|
MNGDecoder::Create }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsMNGModule", components)
|
NS_IMPL_NSGETMODULE(nsMNGModule, components)
|
||||||
|
|
|
@ -36,5 +36,5 @@ static nsModuleComponentInfo components[] =
|
||||||
PNGDecoder::Create }
|
PNGDecoder::Create }
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsPNGModule", components)
|
NS_IMPL_NSGETMODULE(nsPNGModule, components)
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ static nsModuleComponentInfo components[] =
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsJarModule", components);
|
NS_IMPL_NSGETMODULE(nsJarModule, components);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -33,6 +33,6 @@ static nsModuleComponentInfo components[] =
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsJarProtocolModule", components);
|
NS_IMPL_NSGETMODULE(nsJarProtocolModule, components);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -37,5 +37,5 @@ static nsModuleComponentInfo components[] =
|
||||||
nsGIFDecoder2Constructor, },
|
nsGIFDecoder2Constructor, },
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsGIFModule2", components)
|
NS_IMPL_NSGETMODULE(nsGIFModule2, components)
|
||||||
|
|
||||||
|
|
|
@ -38,5 +38,5 @@ static nsModuleComponentInfo components[] =
|
||||||
nsJPEGDecoderConstructor, },
|
nsJPEGDecoderConstructor, },
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsJPEGDecoderModule", components)
|
NS_IMPL_NSGETMODULE(nsJPEGDecoderModule, components)
|
||||||
|
|
||||||
|
|
|
@ -42,5 +42,5 @@ static nsModuleComponentInfo components[] =
|
||||||
nsPNGDecoderConstructor, },
|
nsPNGDecoderConstructor, },
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsPNGDecoderModule", components)
|
NS_IMPL_NSGETMODULE(nsPNGDecoderModule, components)
|
||||||
|
|
||||||
|
|
|
@ -38,5 +38,5 @@ static nsModuleComponentInfo components[] =
|
||||||
nsPPMDecoderConstructor, },
|
nsPPMDecoderConstructor, },
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsPPMDecoderModule", components)
|
NS_IMPL_NSGETMODULE(nsPPMDecoderModule, components)
|
||||||
|
|
||||||
|
|
|
@ -68,4 +68,4 @@ ImageModuleDestructor(nsIModule *self)
|
||||||
imgCache::Shutdown();
|
imgCache::Shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR("nsImageLib2Module", components, ImageModuleDestructor)
|
NS_IMPL_NSGETMODULE_WITH_DTOR(nsImageLib2Module, components, ImageModuleDestructor)
|
||||||
|
|
|
@ -37,7 +37,7 @@ static nsModuleComponentInfo components[] =
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("nsCJVMManagerModule", components);
|
NS_IMPL_NSGETMODULE(nsCJVMManagerModule, components);
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ static nsModuleComponentInfo components[] =
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("OJITestLoader", components);
|
NS_IMPL_NSGETMODULE(OJITestLoader, components);
|
||||||
|
|
||||||
extern "C" NS_EXPORT nsresult NSRegisterSelf(nsISupports* aServMgr,
|
extern "C" NS_EXPORT nsresult NSRegisterSelf(nsISupports* aServMgr,
|
||||||
const char *path)
|
const char *path)
|
||||||
|
|
|
@ -76,5 +76,5 @@ nsPluginModuleDtor(nsIModule *self)
|
||||||
ns4xPlugin::ReleaseStatics();
|
ns4xPlugin::ReleaseStatics();
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR("nsClassicPluginModule", gComponentInfo,
|
NS_IMPL_NSGETMODULE_WITH_DTOR(nsClassicPluginModule, gComponentInfo,
|
||||||
nsPluginModuleDtor);
|
nsPluginModuleDtor);
|
||||||
|
|
|
@ -51,5 +51,5 @@ nsPluginModuleDtor(nsIModule *self)
|
||||||
ns4xPlugin::ReleaseStatics();
|
ns4xPlugin::ReleaseStatics();
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR("nsPluginModule", gComponentInfo,
|
NS_IMPL_NSGETMODULE_WITH_DTOR(nsPluginModule, gComponentInfo,
|
||||||
nsPluginModuleDtor);
|
nsPluginModuleDtor);
|
||||||
|
|
|
@ -76,5 +76,5 @@ nsPluginModuleDtor(nsIModule *self)
|
||||||
ns4xPlugin::ReleaseStatics();
|
ns4xPlugin::ReleaseStatics();
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR("nsClassicPluginModule", gComponentInfo,
|
NS_IMPL_NSGETMODULE_WITH_DTOR(nsClassicPluginModule, gComponentInfo,
|
||||||
nsPluginModuleDtor);
|
nsPluginModuleDtor);
|
||||||
|
|
|
@ -51,5 +51,5 @@ nsPluginModuleDtor(nsIModule *self)
|
||||||
ns4xPlugin::ReleaseStatics();
|
ns4xPlugin::ReleaseStatics();
|
||||||
}
|
}
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR("nsPluginModule", gComponentInfo,
|
NS_IMPL_NSGETMODULE_WITH_DTOR(nsPluginModule, gComponentInfo,
|
||||||
nsPluginModuleDtor);
|
nsPluginModuleDtor);
|
||||||
|
|
|
@ -371,7 +371,7 @@ static nsModuleComponentInfo gComponentInfo[] = {
|
||||||
SimplePluginInstance::UnregisterSelf },
|
SimplePluginInstance::UnregisterSelf },
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("SimplePlugin", gComponentInfo);
|
NS_IMPL_NSGETMODULE(SimplePlugin, gComponentInfo);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -253,7 +253,7 @@ static nsModuleComponentInfo gComponentInfo[] = {
|
||||||
EventsPluginInstance::UnregisterSelf },
|
EventsPluginInstance::UnregisterSelf },
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("EventsPlugin", gComponentInfo);
|
NS_IMPL_NSGETMODULE(EventsPlugin, gComponentInfo);
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -371,7 +371,7 @@ static nsModuleComponentInfo gComponentInfo[] = {
|
||||||
SimplePluginInstance::UnregisterSelf },
|
SimplePluginInstance::UnregisterSelf },
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("SimplePlugin", gComponentInfo);
|
NS_IMPL_NSGETMODULE(SimplePlugin, gComponentInfo);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -253,7 +253,7 @@ static nsModuleComponentInfo gComponentInfo[] = {
|
||||||
EventsPluginInstance::UnregisterSelf },
|
EventsPluginInstance::UnregisterSelf },
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("EventsPlugin", gComponentInfo);
|
NS_IMPL_NSGETMODULE(EventsPlugin, gComponentInfo);
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -880,5 +880,5 @@ static nsModuleComponentInfo gNetModuleInfo[] = {
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE_WITH_DTOR("necko core and primary protocols", gNetModuleInfo,
|
NS_IMPL_NSGETMODULE_WITH_DTOR(necko_core_and_primary_protocols, gNetModuleInfo,
|
||||||
nsNeckoShutdown)
|
nsNeckoShutdown)
|
||||||
|
|
|
@ -70,4 +70,4 @@ static nsModuleComponentInfo gNetModuleInfo[] = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
NS_IMPL_NSGETMODULE("necko secondary protocols", gNetModuleInfo)
|
NS_IMPL_NSGETMODULE(necko_secondary_protocols, gNetModuleInfo)
|
||||||
|
|
Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше
Загрузка…
Ссылка в новой задаче