Make GeckoEmbed functions more Java-like. Don't reflect NS_NewArray. Provide generic impl of QI.

git-svn-id: svn://10.0.0.236/trunk@163854 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pedemont%us.ibm.com
2004-10-15 21:50:15 +00:00
parent 8dd6cc7e13
commit 9c67210ecd
3 changed files with 24 additions and 105 deletions

View File

@@ -39,12 +39,9 @@ package org.mozilla.xpcom;
public final class GeckoEmbed {
public static native void NS_InitEmbedding(nsILocalFile aMozBinDirectory, nsISupports aAppFileLocProvider);
public static native void NS_TermEmbedding();
public static native nsILocalFile NS_NewLocalFile(String aPath, boolean followLinks);
public static native nsIComponentManager NS_GetComponentManager();
public static native nsIServiceManager NS_GetServiceManager();
public static native nsISimpleEnumerator NS_NewSingletonEnumerator(nsISupports aSingleton);
public static native nsIMutableArray NS_NewArray();
public static native void initEmbedding(nsILocalFile aMozBinDirectory, nsISupports aAppFileLocProvider);
public static native void termEmbedding();
public static native nsILocalFile newLocalFile(String aPath, boolean followLinks);
public static native nsIComponentManager getComponentManager();
public static native nsIServiceManager getServiceManager();
}