projects
/
platform
/
upstream
/
iotivity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tizen_5.0 codes into tizen_4.0
[platform/upstream/iotivity.git]
/
android
/
android_api
/
base
/
jni
/
JniOnMQTopicFoundListener.h
diff --git
a/android/android_api/base/jni/JniOnMQTopicFoundListener.h
b/android/android_api/base/jni/JniOnMQTopicFoundListener.h
index
45b73a0
..
3dda033
100644
(file)
--- a/
android/android_api/base/jni/JniOnMQTopicFoundListener.h
+++ b/
android/android_api/base/jni/JniOnMQTopicFoundListener.h
@@
-24,12
+24,10
@@
using namespace OC;
using namespace OC;
-class JniOcResource;
-
class JniOnMQTopicFoundListener
{
public:
class JniOnMQTopicFoundListener
{
public:
- JniOnMQTopicFoundListener(JNIEnv *env, jobject jListener,
JniOcResource* ow
ner);
+ JniOnMQTopicFoundListener(JNIEnv *env, jobject jListener,
RemoveListenerCallback removeListe
ner);
~JniOnMQTopicFoundListener();
void foundTopicCallback(const int eCode, const std::string& uri,
~JniOnMQTopicFoundListener();
void foundTopicCallback(const int eCode, const std::string& uri,
@@
-39,7
+37,7
@@
public:
private:
jweak m_jwListener;
private:
jweak m_jwListener;
-
JniOcResource* m_ownerResource
;
+
RemoveListenerCallback m_removeListener
;
void checkExAndRemoveListener(JNIEnv* env);
};
void checkExAndRemoveListener(JNIEnv* env);
};