Imported Upstream version 0.9.1
[platform/upstream/iotivity.git] / service / protocol-plugin / plugin-manager / src / Android / jni / PluginManager.h
1 //******************************************************************
2 //
3 // Copyright 2014 Samsung Electronics All Rights Reserved.
4 //
5 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
6 //
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
10 //
11 //      http://www.apache.org/licenses/LICENSE-2.0
12 //
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.
18 //
19 //-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
20
21 /// @file PluginManager.h
22
23 /// @brief
24
25 /* DO NOT EDIT THIS FILE - it is machine generated */
26 #include <jni.h>
27 #include <android/log.h>
28
29 #include "../../PluginManagerImpl.h"
30
31 /* Header for class com_example_iotivity_PluginManager */
32
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__)
43
44 #ifndef _Included_org_iotivity_service_ppm_PluginManager
45 #define _Included_org_iotivity_service_ppm_PluginManager
46 #ifdef __cplusplus
47 extern "C" {
48 #endif
49
50 OIC::PluginManagerImpl *pluginManagerImpl;
51 JavaVM *jvm;
52
53 /*
54  * Class:     org_iotivity_service_ppm_PluginManager
55  * Method:    jniStartPlugins
56  * Signature: (Ljava/lang/String;Ljava/lang/String;)I
57  */
58 JNIEXPORT jint JNICALL Java_org_iotivity_service_ppm_PluginManager_jniStartPlugins(JNIEnv *, jobject,
59         jstring, jstring);
60
61 /*
62  * Class:     org_iotivity_service_ppm_PluginManager
63  * Method:    jniStopPlugins
64  * Signature: (Ljava/lang/String;Ljava/lang/String;)I
65  */
66 JNIEXPORT jint JNICALL Java_org_iotivity_service_ppm_PluginManager_jniStopPlugins(JNIEnv *, jobject, jstring,
67         jstring);
68
69 /*
70  * Class:     org_iotivity_service_ppm_PluginManager
71  * Method:    jniRescanPlugin
72  * Signature: (V)I
73  */
74 JNIEXPORT jint JNICALL Java_org_iotivity_service_ppm_PluginManager_jniRescanPlugin(JNIEnv *, jobject);
75
76 /*
77  * Class:     org_iotivity_service_ppm_PluginManager
78  * Method:    jniGetPlugins
79  * Signature: (V)[Lorg/iotivity/service/ppm/Plugin;
80  */
81 JNIEXPORT jobjectArray JNICALL Java_org_iotivity_service_ppm_PluginManager_jniGetPlugins(JNIEnv *, jobject);
82
83 /*
84  * Class:     org_iotivity_service_ppm_PluginManager
85  * Method:    jniGetState
86  * Signature: (Ljava/lang/String;)Ljava/lang/String;
87  */
88 JNIEXPORT jstring JNICALL Java_org_iotivity_service_ppm_PluginManager_jniGetState(JNIEnv *, jobject,
89         jstring);
90
91 #ifdef __cplusplus
92 }
93 #endif
94 #endif