* not part of the build*
Fixed 71951, 74511, 74525 git-svn-id: svn://10.0.0.236/trunk@91125 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -47,13 +47,33 @@ static nsModuleComponentInfo components[] =
|
||||
{
|
||||
{
|
||||
"Black Connect Java stubs and proxies",
|
||||
BC_JAVASTUBSANDPROXIES_CID,
|
||||
BC_JAVASTUBSANDPROXIES_PROGID,
|
||||
BC_JAVASTUBSANDPROXIES_CID,
|
||||
BC_JAVASTUBSANDPROXIES_ContractID,
|
||||
bcJavaStubsAndProxiesConstructor
|
||||
}
|
||||
};
|
||||
|
||||
NS_IMPL_NSGETMODULE("BlackConnect Java stubs and proxies",components);
|
||||
//NS_IMPL_NSGETMODULE("BlackConnect Java stubs and proxies",components_stubs);
|
||||
|
||||
|
||||
PRUint32 NSGetModule_components_count =
|
||||
sizeof(components) / sizeof(components[0]);
|
||||
|
||||
nsModuleComponentInfo* NSGetModule_components_idk = (components);
|
||||
|
||||
extern "C" NS_EXPORT nsresult NSGetModule(nsIComponentManager *servMgr,
|
||||
nsIFile* location,
|
||||
nsIModule** result)
|
||||
{
|
||||
return NS_NewGenericModule("BlackConnect Java stubs and proxies",
|
||||
NSGetModule_components_count,
|
||||
NSGetModule_components_idk,
|
||||
nsnull, result);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
NS_IMPL_ISUPPORTS(bcJavaStubsAndProxies,NS_GET_IID(bcJavaStubsAndProxies));
|
||||
|
||||
@@ -81,10 +101,14 @@ public:
|
||||
|
||||
bcJavaStubsAndProxies::bcJavaStubsAndProxies() {
|
||||
NS_INIT_REFCNT();
|
||||
PR_LOG(bcJavaGlobal::GetLog(),PR_LOG_DEBUG,
|
||||
("--[c++] bcJavaStubsAndProxies::bcJavaStubsAndProxies\n"));
|
||||
oid2objectMap = new nsHashtable(256,PR_TRUE);
|
||||
}
|
||||
|
||||
bcJavaStubsAndProxies::~bcJavaStubsAndProxies() {
|
||||
PR_LOG(bcJavaGlobal::GetLog(),PR_LOG_DEBUG,
|
||||
("--[c++] bcJavaStubsAndProxies::~bcJavaStubsAndProxies\n"));
|
||||
delete oid2objectMap;
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
{0x58034ea6, 0x1dd2, 0x11b2, \
|
||||
{0x9b, 0x58, 0x86, 0x30, 0xab, 0xb8, 0xaf,0x47}}
|
||||
|
||||
#define BC_JAVASTUBSANDPROXIES_PROGID "component://netscape/blackwood/blackconnect/java-stubs-and-proxies"
|
||||
#define BC_JAVASTUBSANDPROXIES_ContractID "@mozilla.org/blackwood/blackconnect/java-stubs-and-proxies"
|
||||
|
||||
/* 7cadf6e8-1dd2-11b2-9a6e-b1c37844e004 */
|
||||
#define BC_JAVASTUBSANDPROXIES_CID \
|
||||
|
||||
Reference in New Issue
Block a user