Bug 270889 - Change params for initEmbedding() to use java.io.File and custom class. Backout lazy discovery of interface info (no longer needed). Better distribute methods in XPCOM and GeckoEmbed classes. r=darin.
git-svn-id: svn://10.0.0.236/trunk@166837 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -37,11 +37,11 @@
|
||||
|
||||
package org.mozilla.xpcom;
|
||||
|
||||
import java.io.*;
|
||||
|
||||
public final class GeckoEmbed {
|
||||
|
||||
public static native void initEmbedding(nsILocalFile aMozBinDirectory, nsISupports aAppFileLocProvider);
|
||||
public static native void initEmbedding(File aMozBinDirectory, AppFileLocProvider 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();
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user