Index: libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java |
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java b/libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java |
index c889cd81d8727718d1ba70008119e5bd54447483..80eb014893f46bd621ccd9377f0ac889e61a491d 100644 |
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java |
+++ b/libadblockplus-android/src/org/adblockplus/libadblockplus/JsEngine.java |
@@ -78,6 +78,11 @@ public final class JsEngine implements Disposable |
triggerEvent(this.ptr, eventName, null); |
} |
+ public void setFileSystem(FileSystem fileSystem) |
+ { |
+ setFileSystem(this.ptr, fileSystem.ptr); |
+ } |
+ |
public void setDefaultFileSystem(final String basePath) |
{ |
setDefaultFileSystem(this.ptr, basePath); |
@@ -152,6 +157,8 @@ public final class JsEngine implements Disposable |
private final static native void triggerEvent(long ptr, String eventName, long[] args); |
+ private final static native void setFileSystem(long ptr, long fileSystemPtr); |
+ |
private final static native void setDefaultFileSystem(long ptr, String basePath); |
private final static native void setLogSystem(long ptr, long logSystemPtr); |