Make object returned from NS_NewLocalFile lazily resolve its interface info, so we can call NS_NewLocalFile before NS_InitEmbedding. Not part of default build.
git-svn-id: svn://10.0.0.236/trunk@162412 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -40,7 +40,7 @@ package org.mozilla.xpcom;
|
||||
public final class GeckoEmbed {
|
||||
|
||||
// XPCOM Utility functions
|
||||
public static native void NS_InitEmbedding(String aMozBinDirectory, int aAppFileLocProvider);
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user