Index: libadblockplus-android/jni/JniCallbacks.h |
diff --git a/libadblockplus-android/jni/JniCallbacks.h b/libadblockplus-android/jni/JniCallbacks.h |
index 27269b7cb59419fcc46188a56605d0d60bdc2924..20b30fe0df14dabbfd79242c6f78dff8833858d1 100644 |
--- a/libadblockplus-android/jni/JniCallbacks.h |
+++ b/libadblockplus-android/jni/JniCallbacks.h |
@@ -53,7 +53,7 @@ class JniEventCallback : public JniCallbackBase |
{ |
public: |
JniEventCallback(JNIEnv* env, jobject callbackObject); |
- void Callback(AdblockPlus::JsValueList& params); |
+ void Callback(const AdblockPlus::JsValueList& params); |
}; |
class JniUpdateAvailableCallback : public JniCallbackBase |
@@ -74,7 +74,7 @@ class JniFilterChangeCallback : public JniCallbackBase |
{ |
public: |
JniFilterChangeCallback(JNIEnv* env, jobject callbackObject); |
- void Callback(const std::string& arg, const AdblockPlus::JsValuePtr jsValue); |
+ void Callback(const std::string& arg, const AdblockPlus::JsValue& jsValue); |
}; |
class JniLogSystemCallback : public JniCallbackBase, public AdblockPlus::LogSystem |
@@ -88,7 +88,7 @@ class JniShowNotificationCallback : public JniCallbackBase |
{ |
public: |
JniShowNotificationCallback(JNIEnv* env, jobject callbackObject); |
- void Callback(const AdblockPlus::NotificationPtr&); |
+ void Callback(AdblockPlus::Notification&); |
}; |
class JniWebRequest : public JniCallbackBase, public AdblockPlus::WebRequest |