preloader update. r=peterl, sr=attinasi

This commit is contained in:
rickg%netscape.com 2001-04-03 22:58:59 +00:00
Родитель 5bb21239d8
Коммит c1ce80ae83
67 изменённых файлов: 669 добавлений и 0 удалений

Просмотреть файл

@ -67,3 +67,13 @@ static nsModuleComponentInfo components[] =
NS_IMPL_NSGETMODULE("nsSecurityManagerModule", components);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -53,3 +53,13 @@ static nsModuleComponentInfo components[] =
NS_IMPL_NSGETMODULE("nsChromeModule", components);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -452,3 +452,12 @@ nsContentModule::CanUnload(nsIComponentManager *aCompMgr, PRBool *okToUnload)
return NS_ERROR_FAILURE;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -92,3 +92,12 @@ NS_IMETHODIMP nsMorkFactoryFactory::GetMdbFactory(nsIMdbFactory **aFactory)
return (gMDBFactory) ? NS_OK : NS_ERROR_OUT_OF_MEMORY;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -50,3 +50,13 @@ static nsModuleComponentInfo gDocShellModuleInfo[] = {
// be dispensing docshells rather than webshells.
NS_IMPL_NSGETMODULE("docshell provider", gDocShellModuleInfo)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -861,3 +861,13 @@ void DumpJSEval(PRUint32 frame, const char* text)
JS_END_EXTERN_C
#endif
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -5605,3 +5605,13 @@ nsEditor::CreateHTMLContent(const nsString& aTag, nsIContent** aContent)
return NS_OK;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -5605,3 +5605,13 @@ nsEditor::CreateHTMLContent(const nsString& aTag, nsIContent** aContent)
return NS_OK;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -55,3 +55,13 @@ static nsModuleComponentInfo components[] = {
// and the entire implementation of the module object.
//
NS_IMPL_NSGETMODULE("nsTextServicesModule", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -1231,3 +1231,13 @@ nsTransactionManager::Unlock()
return NS_OK;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -55,3 +55,13 @@ static nsModuleComponentInfo components[] = {
// and the entire implementation of the module object.
//
NS_IMPL_NSGETMODULE("nsTextServicesModule", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -53,3 +53,12 @@ NS_IMPL_NSGETMODULE("Browser Embedding Module", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -34,3 +34,13 @@ static nsModuleComponentInfo components[] = {
};
NS_IMPL_NSGETMODULE("embedcomponents", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -194,3 +194,13 @@ NS_IMETHODIMP nsCookieService::Observe(nsISupports *aSubject, const PRUnichar *a
return rv;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -44,3 +44,12 @@ static nsModuleComponentInfo components[] = {
NS_IMPL_NSGETMODULE("nsWalletViewerModule", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -39,3 +39,13 @@ static nsModuleComponentInfo components[] = {
};
NS_IMPL_NSGETMODULE("nsWalletModule", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -232,3 +232,13 @@ static nsModuleComponentInfo components[] = {
};
NS_IMPL_NSGETMODULE("nsXMLExtrasModule", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -968,3 +968,13 @@ register PRUint32 *bp;
//------------------------------------------------------------
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -462,3 +462,13 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr,
gModule = m; // WARNING: Weak Reference
return rv;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -38,3 +38,13 @@ static nsModuleComponentInfo components[] = {
};
NS_IMPL_NSGETMODULE("nsLWBrkModule", components);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -1211,3 +1211,13 @@ static nsModuleComponentInfo components[] =
NS_IMPL_NSGETMODULE("nsStringBundleModule", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -370,3 +370,13 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr,
gModule = m; // WARNING: Weak Reference
return rv;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -162,3 +162,13 @@ static nsModuleComponentInfo components[] =
};
NS_IMPL_NSGETMODULE("nsUCvCnModule", components);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -154,3 +154,13 @@ static nsModuleComponentInfo components[] =
NS_IMPL_NSGETMODULE("nsUCvTWModule", components);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -996,3 +996,13 @@ static nsModuleComponentInfo components[] =
NS_IMPL_NSGETMODULE("nsUCvLatinModule", components);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -121,3 +121,13 @@ static nsModuleComponentInfo components[] =
NS_IMPL_NSGETMODULE("nsUCvTWModule", components);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -199,3 +199,13 @@ static nsModuleComponentInfo components[] =
};
NS_IMPL_NSGETMODULE("nsUCvTW2Module", components);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -103,3 +103,13 @@ static nsModuleComponentInfo components[] =
NS_IMPL_NSGETMODULE("UcharUtil", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -1325,3 +1325,13 @@ static nsModuleComponentInfo components[] = {
};
NS_IMPL_NSGETMODULE("JS component loader", components);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -909,3 +909,13 @@ void Datom(JSAtom *atom) { if (atom) DumpAtom(&atom->entry, 0, gErrFile); }
//void Dxpc(int depth) {Dobj(GetXPConnect(), depth);}
JS_END_EXTERN_C
#endif
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -66,3 +66,13 @@ xpcModuleDtor(nsIModule* self)
}
NS_IMPL_NSGETMODULE_WITH_DTOR("xpconnect", components, xpcModuleDtor)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -411,3 +411,13 @@ nsLayoutModule::CanUnload(nsIComponentManager *aCompMgr, PRBool *okToUnload)
*okToUnload = PR_FALSE;
return NS_ERROR_FAILURE;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -62,3 +62,13 @@ static nsModuleComponentInfo components[] =
};
NS_IMPL_NSGETMODULE("nsAbSyncModule", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -1533,3 +1533,13 @@ NS_IMETHODIMP nsAddressBook::ImportAddressBook()
}
CMDLINEHANDLER_IMPL(nsAddressBook,"-addressbook","general.startup.addressbook","chrome://messenger/content/addressbook/addressbook.xul","Start with the addressbook.",NS_ADDRESSBOOKSTARTUPHANDLER_CONTRACTID,"Addressbook Startup Handler",PR_FALSE,"", PR_TRUE)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -164,3 +164,14 @@ nsMsgServiceProviderService::LoadDataSource(const char *aURI)
return rv;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -390,3 +390,13 @@ PRBool NS_MsgStripRE(const char **stringP, PRUint32 *lengthP)
return result;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -277,3 +277,13 @@ extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr,
gModule = module; // WARNING: Weak Reference
return rv;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -80,3 +80,13 @@ static nsModuleComponentInfo gComponents[] = {
};
NS_IMPL_NSGETMODULE("IMAP factory", gComponents);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -1442,3 +1442,13 @@ void nsEudoraWin32::ConvertPath( nsCString& str)
str = path;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -778,3 +778,14 @@ void nsImportModuleList::AddModule( const nsCID& cid, const char *pSupports, con
IMPORT_LOG3( "* nsImportService registered import module: %s, %s, %s\n", (const char *)name, (const char *)desc, pSupports);
#endif
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -82,3 +82,13 @@ textModuleDtor(nsIModule* self)
NS_IMPL_NSGETMODULE_WITH_DTOR("nsTextImportModule", components, textModuleDtor)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -138,3 +138,13 @@ static nsModuleComponentInfo gComponents[] = {
NS_IMPL_NSGETMODULE("local mail services", gComponents);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -128,3 +128,13 @@ static nsModuleComponentInfo components[] =
NS_IMPL_NSGETMODULE("nsMsgNewsModule", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -38,3 +38,12 @@ static nsModuleComponentInfo components[] =
NS_IMPL_NSGETMODULE("nsGIFModule", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -38,3 +38,13 @@ static nsModuleComponentInfo components[] =
};
NS_IMPL_NSGETMODULE("nsJPGModule", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -454,3 +454,13 @@ MNGDecoder::ImgDAbort()
return NS_OK;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -38,3 +38,13 @@ static nsModuleComponentInfo components[] =
NS_IMPL_NSGETMODULE("nsPNGModule", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -120,3 +120,12 @@ IL_ClearTimeout(void *timer_id)
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -1375,3 +1375,13 @@ nsZipReaderCache::Observe(nsISupports *aSubject,
}
////////////////////////////////////////////////////////////////////////////////
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -1970,3 +1970,13 @@ extern "C" JSRuntime* PREF_GetJSRuntime()
// and the entire implementation of the module object.
//
NS_IMPL_NSGETMODULE("nsPrefModule", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -53,3 +53,14 @@ nsPluginModuleDtor(nsIModule *self)
NS_IMPL_NSGETMODULE_WITH_DTOR("nsPluginModule", gComponentInfo,
nsPluginModuleDtor);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -53,3 +53,14 @@ nsPluginModuleDtor(nsIModule *self)
NS_IMPL_NSGETMODULE_WITH_DTOR("nsPluginModule", gComponentInfo,
nsPluginModuleDtor);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -892,3 +892,14 @@ static nsModuleComponentInfo gNetModuleInfo[] = {
NS_IMPL_NSGETMODULE_WITH_DTOR("necko core and primary protocols", gNetModuleInfo,
nsNeckoShutdown)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -63,3 +63,13 @@ static nsModuleComponentInfo gNetModuleInfo[] = {
};
NS_IMPL_NSGETMODULE("necko secondary protocols", gNetModuleInfo)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -36,3 +36,13 @@ static nsModuleComponentInfo components[] =
};
NS_IMPL_NSGETMODULE("nsProfileModule", components);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -152,3 +152,13 @@ static nsModuleComponentInfo components[] =
};
NS_IMPL_NSGETMODULE("nsRDFModule", components);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -53,3 +53,13 @@ static nsModuleComponentInfo components[] =
NS_IMPL_NSGETMODULE("nsChromeModule", components);
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -62,3 +62,13 @@ static nsModuleComponentInfo components[] = {
// and the entire implementation of the module object.
//
NS_IMPL_NSGETMODULE("nsURILoaderModule", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -339,3 +339,13 @@ nsViewModule::CanUnload(nsIComponentManager *aCompMgr, PRBool *okToUnload)
}
//////////////////////////////////////////////////////////////////////
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -264,3 +264,13 @@ NSGetFactory(nsISupports* serviceMgr,
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -305,3 +305,13 @@ nsConsoleService::GetProxyForListener(nsIConsoleListener* aListener,
(void**) aProxy);
return rv;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -136,3 +136,13 @@ static nsModuleComponentInfo gAppShellModuleInfo[] =
NS_IMPL_NSGETMODULE("appshell", gAppShellModuleInfo)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -95,3 +95,13 @@ static nsModuleComponentInfo components[] = {
};
NS_IMPL_NSGETMODULE("application", components)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -699,3 +699,13 @@ nsFindComponent::ResetContext( nsISupports *aContext,
NS_IMPL_ISUPPORTS1( nsFindComponent::Context, nsISearchContext)
NS_IMPL_IAPPSHELLCOMPONENT( nsFindComponent, nsIFindComponent, NS_IFINDCOMPONENT_CONTRACTID, 0 )
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -57,3 +57,13 @@ static nsModuleComponentInfo gSHistoryModuleInfo[] =
};
NS_IMPL_NSGETMODULE("Session History Module", gSHistoryModuleInfo)
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -967,3 +967,13 @@ nsXPInstallManager::LogComment(const PRUnichar* comment)
return NS_OK;
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif

Просмотреть файл

@ -27,3 +27,13 @@ int FAR PASCAL LibMain(HINSTANCE hInstance, WORD wDataSeg, WORD cbHeapSize, LPST
{
return(1);
}
#ifdef XP_WIN32
//in addition to returning a version number for this module,
//this also provides a convenient hook for the preloader
//to keep (some if not all) of the module resident.
extern "C" __declspec(dllexport) float GetVersionNumber(void) {
return 1.0;
}
#endif