Changeset for reviewing RI-CA integration changes.
[platform/upstream/iotivity.git] / service / soft-sensor-manager / SSMCore / src / SSMInterface / SSMCore_JNI.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 #ifndef _SSMCore_JNI_H_
21 #define _SSMCore_JNI_H_
22
23 #include <jni.h>
24
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28
29 JNIEXPORT void JNICALL Java_com_sec_android_ssmcore_CoreController_InitializeSSMCore
30 (JNIEnv *env, jclass clz, jstring jstrXmlDescription);
31
32 JNIEXPORT void JNICALL Java_com_sec_android_ssmcore_CoreController_StartSSMCore
33 (JNIEnv *env, jclass clz);
34
35 JNIEXPORT void JNICALL Java_com_sec_android_ssmcore_CoreController_StopSSMCore
36 (JNIEnv *env, jclass clz);
37
38 JNIEXPORT void JNICALL Java_com_sec_android_ssmcore_CoreController_TerminateSSMCore
39 (JNIEnv *env, jclass clz);
40
41 JNIEXPORT jobject JNICALL Java_com_sec_android_ssmcore_CoreController_CreateQueryEngine
42 (JNIEnv *env, jclass clz);
43
44 JNIEXPORT jint JNICALL Java_com_sec_android_ssmcore_CoreController_ReleaseQueryEngine
45 (JNIEnv *env, jclass clz, jobject queryEngine);
46
47 JNIEXPORT jint JNICALL Java_com_sec_android_ssmcore_CoreController_ExecuteContextQuery
48 (JNIEnv *env, jclass clz, jint pQueryEngineInstance, jstring jstrContextQuery);
49
50 JNIEXPORT void JNICALL Java_com_sec_android_ssmcore_CoreController_RegisterQueryEvent
51 (JNIEnv *env, jclass clz, jint pQueryEngineInstance, jobject queryEngineEvent);
52
53 JNIEXPORT void JNICALL Java_com_sec_android_ssmcore_CoreController_KillContextQuery
54 (JNIEnv *env, jclass clz, jint pQueryEngineInstance, jint cqid);
55
56 JNIEXPORT jint JNICALL Java_com_sec_android_ssmcore_CoreController_Release
57 (JNIEnv *env, jclass clz, jint pQueryEngineInstance);
58
59 JNIEXPORT jint JNICALL Java_com_sec_android_ssmcore_CoreController_GetDataId
60 (JNIEnv *env, jclass clz, jint pDataReaderInstance);
61
62 JNIEXPORT jobject JNICALL Java_com_sec_android_ssmcore_CoreController_GetAffectedModels
63 (JNIEnv *env, jclass clz, jint pDataReaderInstance);
64
65 JNIEXPORT jint JNICALL Java_com_sec_android_ssmcore_CoreController_GetModelDataCount
66 (JNIEnv *env, jclass clz, jint pDataReaderInstance, jstring jstrModelName);
67
68 JNIEXPORT jobject JNICALL Java_com_sec_android_ssmcore_CoreController_GetModelData
69 (JNIEnv *env, jclass clz, jint pDataReaderInstance, jstring jstrModelName, jint jintDataIndex );
70
71 JNIEXPORT jint JNICALL Java_com_sec_android_ssmcore_CoreController_GetPropertyCount
72 (JNIEnv *env, jclass clz, jint pIModelDataInstance );
73
74 JNIEXPORT jstring JNICALL Java_com_sec_android_ssmcore_CoreController_GetPropertyName
75 (JNIEnv *env, jclass clz, jint pIModelDataInstance, jint propertyIndex );
76
77 JNIEXPORT jstring JNICALL Java_com_sec_android_ssmcore_CoreController_GetPropertyValue
78 (JNIEnv *env, jclass clz, jint pIModelDataInstance, jint propertyIndex );
79
80 JNIEXPORT void JNICALL Java_com_sec_android_ssmcore_CoreController_RegisterReportReceiver
81 (JNIEnv *env, jclass clz, jobject reportReceiver );
82
83 #ifdef __cplusplus
84 }
85 #endif
86
87 #endif
88