Register nsIAcceptLang: 34954

git-svn-id: svn://10.0.0.236/trunk@69459 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tao%netscape.com
2000-05-12 21:50:01 +00:00
parent db773e95d4
commit 85eb4e1c19

View File

@@ -49,11 +49,12 @@
#include "nsHashtable.h"
#include "nsAutoLock.h"
#include "nsAcceptLang.h" // for nsIAcceptLang
static NS_DEFINE_CID(kComponentManagerCID, NS_COMPONENTMANAGER_CID);
// XXX investigate need for proper locking in this module
//static PRInt32 gLockCount = 0;
NS_DEFINE_IID(kStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID);
@@ -791,10 +792,12 @@ NS_NewStringBundleService(nsISupports* aOuter, const nsIID& aIID,
}
NS_GENERIC_FACTORY_CONSTRUCTOR(nsStringBundleService)
NS_GENERIC_FACTORY_CONSTRUCTOR(nsAcceptLang)
static nsModuleComponentInfo components[] =
{
{ "String Bundle", NS_STRINGBUNDLESERVICE_CID, NS_STRINGBUNDLE_PROGID, nsStringBundleServiceConstructor}
{ "String Bundle", NS_STRINGBUNDLESERVICE_CID, NS_STRINGBUNDLE_PROGID, nsStringBundleServiceConstructor},
{ "Accept Language", NS_ACCEPTLANG_CID, NS_ACCEPTLANG_PROGID, nsAcceptLangConstructor}
};
NS_IMPL_NSGETMODULE("nsStringBundleModule", components)