]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.excel/native/SimanticsExcel2008/SimanticsExcel2008/jni2.h
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.excel / native / SimanticsExcel2008 / SimanticsExcel2008 / jni2.h
diff --git a/bundles/org.simantics.excel/native/SimanticsExcel2008/SimanticsExcel2008/jni2.h b/bundles/org.simantics.excel/native/SimanticsExcel2008/SimanticsExcel2008/jni2.h
new file mode 100644 (file)
index 0000000..3fd3f43
--- /dev/null
@@ -0,0 +1,22 @@
+#ifndef JNI2_H\r
+#define JNI2_H\r
+\r
+#include "jni.h"\r
+\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
+JNIEXPORT jint JNICALL Java_org_simantics_excel_Excel_init(JNIEnv *env, jobject);\r
+JNIEXPORT jstring JNICALL Java_org_simantics_excel_Excel_open(JNIEnv *env, jobject, jstring fileName, jstring sheetName);\r
+JNIEXPORT jint JNICALL Java_org_simantics_excel_Excel_setDouble(JNIEnv *env, jobject, jint handle, jint row, jint column, jdouble value);\r
+JNIEXPORT jint JNICALL Java_org_simantics_excel_Excel_setString(JNIEnv *env, jobject, jint handle, jint row, jint column, jstring value);\r
+JNIEXPORT jint JNICALL Java_org_simantics_excel_Excel_setName(JNIEnv *env, jobject, jint handle, jint row, jint column, jstring value);\r
+JNIEXPORT jint JNICALL Java_org_simantics_excel_Excel_setVisible(JNIEnv *env, jobject, jint handle, jboolean value);\r
+JNIEXPORT jint JNICALL Java_org_simantics_excel_Excel_close(JNIEnv *env, jobject, jint handle);\r
+\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+\r
+#endif JNI2_H
\ No newline at end of file