Index: libadblockplus-android/jni/JniPlatform.h |
diff --git a/libadblockplus-android/src/org/adblockplus/libadblockplus/WebRequest.java b/libadblockplus-android/jni/JniPlatform.h |
similarity index 76% |
copy from libadblockplus-android/src/org/adblockplus/libadblockplus/WebRequest.java |
copy to libadblockplus-android/jni/JniPlatform.h |
index 35f43f58235984a73851a3ad928b366642d48ffa..d3510322a17d0ae62243fccad04539673a96066c 100644 |
--- a/libadblockplus-android/src/org/adblockplus/libadblockplus/WebRequest.java |
+++ b/libadblockplus-android/jni/JniPlatform.h |
@@ -15,11 +15,15 @@ |
* along with Adblock Plus. If not, see <http://www.gnu.org/licenses/>. |
*/ |
-package org.adblockplus.libadblockplus; |
+#ifndef JNI_PLATFORM_H |
+#define JNI_PLATFORM_H |
-import java.util.List; |
+#include <AdblockPlus/Platform.h> |
-public interface WebRequest |
+struct JniPlatform |
{ |
- ServerResponse httpGET(String url, List<HeaderEntry> headers); |
-} |
+ AdblockPlus::Scheduler scheduler; |
+ std::unique_ptr<AdblockPlus::Platform> platform; |
+}; |
+ |
+#endif /* JNI_PLATFORM_H */ |