1 //******************************************************************
3 // Copyright 2014 Samsung Electronics All Rights Reserved.
5 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
7 // Licensed under the Apache License, Version 2.0 (the "License");
8 // you may not use this file except in compliance with the License.
9 // You may obtain a copy of the License at
11 // http://www.apache.org/licenses/LICENSE-2.0
13 // Unless required by applicable law or agreed to in writing, software
14 // distributed under the License is distributed on an "AS IS" BASIS,
15 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 // See the License for the specific language governing permissions and
17 // limitations under the License.
19 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
21 /// @file PluginManager.h
25 /* DO NOT EDIT THIS FILE - it is machine generated */
27 #include <android/log.h>
29 #include "../../PluginManagerImpl.h"
31 /* Header for class com_example_iotivity_PluginManager */
33 #define LOG_TAG "PluginManager.cpp"
34 #define LOGUNK(...) __android_log_print(ANDROID_LOG_UNKNOWN,LOG_TAG,__VA_ARGS__)
35 #define LOGDEF(...) __android_log_print(ANDROID_LOG_DEFAULT,LOG_TAG,__VA_ARGS__)
36 #define LOGV(...) __android_log_print(ANDROID_LOG_VERBOSE,LOG_TAG,__VA_ARGS__)
37 #define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG,LOG_TAG,__VA_ARGS__)
38 #define LOGI(...) __android_log_print(ANDROID_LOG_INFO,LOG_TAG,__VA_ARGS__)
39 #define LOGW(...) __android_log_print(ANDROID_LOG_WARN,LOG_TAG,__VA_ARGS__)
40 #define LOGE(...) __android_log_print(ANDROID_LOG_ERROR,LOG_TAG,__VA_ARGS__)
41 #define LOGF(...) __android_log_print(ANDROID_FATAL_ERROR,LOG_TAG,__VA_ARGS__)
42 #define LOGS(...) __android_log_print(ANDROID_SILENT_ERROR,LOG_TAG,__VA_ARGS__)
44 #ifndef _Included_org_iotivity_service_ppm_PluginManager
45 #define _Included_org_iotivity_service_ppm_PluginManager
50 OIC::PluginManagerImpl *pluginManagerImpl;
54 * Class: org_iotivity_service_ppm_PluginManager
55 * Method: jniStartPlugins
56 * Signature: (Ljava/lang/String;Ljava/lang/String;)I
58 JNIEXPORT jint JNICALL Java_org_iotivity_service_ppm_PluginManager_jniStartPlugins(JNIEnv *, jobject,
62 * Class: org_iotivity_service_ppm_PluginManager
63 * Method: jniStopPlugins
64 * Signature: (Ljava/lang/String;Ljava/lang/String;)I
66 JNIEXPORT jint JNICALL Java_org_iotivity_service_ppm_PluginManager_jniStopPlugins(JNIEnv *, jobject, jstring,
70 * Class: org_iotivity_service_ppm_PluginManager
71 * Method: jniRescanPlugin
74 JNIEXPORT jint JNICALL Java_org_iotivity_service_ppm_PluginManager_jniRescanPlugin(JNIEnv *, jobject);
77 * Class: org_iotivity_service_ppm_PluginManager
78 * Method: jniGetPlugins
79 * Signature: (V)[Lorg/iotivity/service/ppm/Plugin;
81 JNIEXPORT jobjectArray JNICALL Java_org_iotivity_service_ppm_PluginManager_jniGetPlugins(JNIEnv *, jobject);
84 * Class: org_iotivity_service_ppm_PluginManager
86 * Signature: (Ljava/lang/String;)Ljava/lang/String;
88 JNIEXPORT jstring JNICALL Java_org_iotivity_service_ppm_PluginManager_jniGetState(JNIEnv *, jobject,