Mozilla/mozilla/extensions/mono/src/xpcom-core.cpp
shaver%mozilla.org c367c99af4 initial import of monoconnect^Wxpcom-dotnet^Wextensions/mono code -- not working, not done, not useful to you, not part of the build
git-svn-id: svn://10.0.0.236/trunk@168679 18797224-902f-48f8-a5cc-f745e15eee43
2005-02-01 23:58:57 +00:00

17 lines
379 B
C++

#include <nsXPCOM.h>
#include <nsDebug.h>
#include <nsIInterfaceInfoManager.h>
#include <xptinfo.h>
#include <nsCOMPtr.h>
extern "C" int
StartXPCOM(nsIServiceManager** srvmgr)
{
nsresult res = NS_InitXPCOM2(srvmgr, 0, 0);
if (NS_SUCCEEDED(res)) {
extern nsIInterfaceInfoManager *infomgr;
infomgr = XPTI_GetInterfaceInfoManager();
}
return res;
}