Imported Upstream version 1.0.0
[platform/upstream/iotivity.git] / android / android_api / base / jni / JniOnPostListener.h
index 9090507..5dfe525 100644 (file)
@@ -1,45 +1,45 @@
-/*\r
-* //******************************************************************\r
-* //\r
-* // Copyright 2015 Intel Corporation.\r
-* //\r
-* //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r
-* //\r
-* // Licensed under the Apache License, Version 2.0 (the "License");\r
-* // you may not use this file except in compliance with the License.\r
-* // You may obtain a copy of the License at\r
-* //\r
-* //      http://www.apache.org/licenses/LICENSE-2.0\r
-* //\r
-* // Unless required by applicable law or agreed to in writing, software\r
-* // distributed under the License is distributed on an "AS IS" BASIS,\r
-* // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
-* // See the License for the specific language governing permissions and\r
-* // limitations under the License.\r
-* //\r
-* //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\r
-*/\r
-#include "JniOcStack.h"\r
-\r
-#ifndef _Included_org_iotivity_base_OcResource_OnPostListener\r
-#define _Included_org_iotivity_base_OcResource_OnPostListener\r
-\r
-using namespace OC;\r
-\r
-class JniOcResource;\r
-\r
-class JniOnPostListener\r
-{\r
-public:\r
-    JniOnPostListener(JNIEnv *env, jobject jListener, JniOcResource* owner);\r
-    ~JniOnPostListener();\r
-\r
-    void onPostCallback(const HeaderOptions& headerOptions, const OCRepresentation& rep, const int eCode);\r
-\r
-private:\r
-    jweak m_jwListener;\r
-    JniOcResource* m_ownerResource;\r
-    void checkExAndRemoveListener(JNIEnv *env);\r
-};\r
-\r
+/*
+* //******************************************************************
+* //
+* // Copyright 2015 Intel Corporation.
+* //
+* //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+* //
+* // Licensed under the Apache License, Version 2.0 (the "License");
+* // you may not use this file except in compliance with the License.
+* // You may obtain a copy of the License at
+* //
+* //      http://www.apache.org/licenses/LICENSE-2.0
+* //
+* // Unless required by applicable law or agreed to in writing, software
+* // distributed under the License is distributed on an "AS IS" BASIS,
+* // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* // See the License for the specific language governing permissions and
+* // limitations under the License.
+* //
+* //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
+*/
+#include "JniOcStack.h"
+
+#ifndef _Included_org_iotivity_base_OcResource_OnPostListener
+#define _Included_org_iotivity_base_OcResource_OnPostListener
+
+using namespace OC;
+
+class JniOcResource;
+
+class JniOnPostListener
+{
+public:
+    JniOnPostListener(JNIEnv *env, jobject jListener, JniOcResource* owner);
+    ~JniOnPostListener();
+
+    void onPostCallback(const HeaderOptions& headerOptions, const OCRepresentation& rep, const int eCode);
+
+private:
+    jweak m_jwListener;
+    JniOcResource* m_ownerResource;
+    void checkExAndRemoveListener(JNIEnv *env);
+};
+
 #endif
\ No newline at end of file