aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Hoa V. Dinh <dinh.viet.hoa@gmail.com>2015-09-08 17:04:23 -0700
committerGravatar Hoa V. Dinh <dinh.viet.hoa@gmail.com>2015-09-08 17:04:23 -0700
commit4c1ad853a48ba49be5888ed02fdec95fabe31509 (patch)
tree8f27a1efd2f409a14364c336898ec50001e26a50 /src
parenta2b82f4fcd2ff3621d30782239a0602f174c4b72 (diff)
More java/native mapping for Android
Diffstat (limited to 'src')
-rw-r--r--src/java/com/libmailcore/IMAPCheckAccountOperation.java5
-rw-r--r--src/java/com/libmailcore/IMAPConnectOperation.java5
-rw-r--r--src/java/com/libmailcore/IMAPCreateFolderOperation.java5
-rw-r--r--src/java/com/libmailcore/IMAPDeleteFolderOperation.java5
-rw-r--r--src/java/com/libmailcore/IMAPExpungeOperation.java2
-rw-r--r--src/java/com/libmailcore/IMAPNoopOperation.java5
-rw-r--r--src/java/com/libmailcore/IMAPRenameFolderOperation.java5
-rw-r--r--src/java/com/libmailcore/IMAPStoreFlagsOperation.java5
-rw-r--r--src/java/com/libmailcore/IMAPStoreLabelsOperation.java5
-rw-r--r--src/java/com/libmailcore/IMAPSubscribeFolderOperation.java5
-rw-r--r--src/java/native/com_libmailcore_IMAPCheckAccountOperation.cpp13
-rw-r--r--src/java/native/com_libmailcore_IMAPCheckAccountOperation.h15
-rw-r--r--src/java/native/com_libmailcore_IMAPConnectOperation.cpp13
-rw-r--r--src/java/native/com_libmailcore_IMAPConnectOperation.h15
-rw-r--r--src/java/native/com_libmailcore_IMAPCreateFolderOperation.cpp13
-rw-r--r--src/java/native/com_libmailcore_IMAPCreateFolderOperation.h15
-rw-r--r--src/java/native/com_libmailcore_IMAPDeleteFolderOperation.cpp13
-rw-r--r--src/java/native/com_libmailcore_IMAPDeleteFolderOperation.h15
-rw-r--r--src/java/native/com_libmailcore_IMAPNoopOperation.cpp13
-rw-r--r--src/java/native/com_libmailcore_IMAPNoopOperation.h15
-rw-r--r--src/java/native/com_libmailcore_IMAPRenameFolderOperation.cpp13
-rw-r--r--src/java/native/com_libmailcore_IMAPRenameFolderOperation.h15
-rw-r--r--src/java/native/com_libmailcore_IMAPStoreFlagsOperation.cpp14
-rw-r--r--src/java/native/com_libmailcore_IMAPStoreFlagsOperation.h15
-rw-r--r--src/java/native/com_libmailcore_IMAPStoreLabelsOperation.cpp14
-rw-r--r--src/java/native/com_libmailcore_IMAPStoreLabelsOperation.h15
-rw-r--r--src/java/native/com_libmailcore_IMAPSubscribeFolderOperation.cpp13
-rw-r--r--src/java/native/com_libmailcore_IMAPSubscribeFolderOperation.h15
28 files changed, 299 insertions, 2 deletions
diff --git a/src/java/com/libmailcore/IMAPCheckAccountOperation.java b/src/java/com/libmailcore/IMAPCheckAccountOperation.java
new file mode 100644
index 00000000..d2819a09
--- /dev/null
+++ b/src/java/com/libmailcore/IMAPCheckAccountOperation.java
@@ -0,0 +1,5 @@
+package com.libmailcore;
+
+/** Operation to check credentials of an account. */
+public class IMAPCheckAccountOperation extends IMAPOperation {
+}
diff --git a/src/java/com/libmailcore/IMAPConnectOperation.java b/src/java/com/libmailcore/IMAPConnectOperation.java
new file mode 100644
index 00000000..430c6f04
--- /dev/null
+++ b/src/java/com/libmailcore/IMAPConnectOperation.java
@@ -0,0 +1,5 @@
+package com.libmailcore;
+
+/** Operation to connect to a server. */
+public class IMAPConnectOperation extends IMAPOperation {
+}
diff --git a/src/java/com/libmailcore/IMAPCreateFolderOperation.java b/src/java/com/libmailcore/IMAPCreateFolderOperation.java
new file mode 100644
index 00000000..282a90d8
--- /dev/null
+++ b/src/java/com/libmailcore/IMAPCreateFolderOperation.java
@@ -0,0 +1,5 @@
+package com.libmailcore;
+
+/** Operation to create folder. */
+public class IMAPCreateFolderOperation extends IMAPOperation {
+}
diff --git a/src/java/com/libmailcore/IMAPDeleteFolderOperation.java b/src/java/com/libmailcore/IMAPDeleteFolderOperation.java
new file mode 100644
index 00000000..839ea22f
--- /dev/null
+++ b/src/java/com/libmailcore/IMAPDeleteFolderOperation.java
@@ -0,0 +1,5 @@
+package com.libmailcore;
+
+/** Operation to delete folder. */
+public class IMAPDeleteFolderOperation extends IMAPOperation {
+}
diff --git a/src/java/com/libmailcore/IMAPExpungeOperation.java b/src/java/com/libmailcore/IMAPExpungeOperation.java
index 65a8f696..4ae72431 100644
--- a/src/java/com/libmailcore/IMAPExpungeOperation.java
+++ b/src/java/com/libmailcore/IMAPExpungeOperation.java
@@ -1,7 +1,5 @@
package com.libmailcore;
-import java.util.Map;
-
/** Operation to expunge messages marked as deleted. */
public class IMAPExpungeOperation extends IMAPOperation {
}
diff --git a/src/java/com/libmailcore/IMAPNoopOperation.java b/src/java/com/libmailcore/IMAPNoopOperation.java
new file mode 100644
index 00000000..bfe95bde
--- /dev/null
+++ b/src/java/com/libmailcore/IMAPNoopOperation.java
@@ -0,0 +1,5 @@
+package com.libmailcore;
+
+/** Operation to run a no-op. */
+public class IMAPNoopOperation extends IMAPOperation {
+}
diff --git a/src/java/com/libmailcore/IMAPRenameFolderOperation.java b/src/java/com/libmailcore/IMAPRenameFolderOperation.java
new file mode 100644
index 00000000..1081b8d5
--- /dev/null
+++ b/src/java/com/libmailcore/IMAPRenameFolderOperation.java
@@ -0,0 +1,5 @@
+package com.libmailcore;
+
+/** Operation to rename folder. */
+public class IMAPRenameFolderOperation extends IMAPOperation {
+}
diff --git a/src/java/com/libmailcore/IMAPStoreFlagsOperation.java b/src/java/com/libmailcore/IMAPStoreFlagsOperation.java
new file mode 100644
index 00000000..afb1920c
--- /dev/null
+++ b/src/java/com/libmailcore/IMAPStoreFlagsOperation.java
@@ -0,0 +1,5 @@
+package com.libmailcore;
+
+/** Operation to set flags to a message. */
+public class IMAPStoreFlagsOperation extends IMAPOperation {
+}
diff --git a/src/java/com/libmailcore/IMAPStoreLabelsOperation.java b/src/java/com/libmailcore/IMAPStoreLabelsOperation.java
new file mode 100644
index 00000000..071db08d
--- /dev/null
+++ b/src/java/com/libmailcore/IMAPStoreLabelsOperation.java
@@ -0,0 +1,5 @@
+package com.libmailcore;
+
+/** Operation to set labels to a message. */
+public class IMAPStoreLabelsOperation extends IMAPOperation {
+}
diff --git a/src/java/com/libmailcore/IMAPSubscribeFolderOperation.java b/src/java/com/libmailcore/IMAPSubscribeFolderOperation.java
new file mode 100644
index 00000000..a7188d0a
--- /dev/null
+++ b/src/java/com/libmailcore/IMAPSubscribeFolderOperation.java
@@ -0,0 +1,5 @@
+package com.libmailcore;
+
+/** Operation to subscribe or subscribe to a folder. */
+public class IMAPSubscribeFolderOperation extends IMAPOperation {
+}
diff --git a/src/java/native/com_libmailcore_IMAPCheckAccountOperation.cpp b/src/java/native/com_libmailcore_IMAPCheckAccountOperation.cpp
new file mode 100644
index 00000000..65e7e6bd
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPCheckAccountOperation.cpp
@@ -0,0 +1,13 @@
+#include "com_libmailcore_IMAPCheckAccountOperation.h"
+
+#include "MCBaseTypes.h"
+#include "JavaHandle.h"
+#include "TypesUtils.h"
+#include "MCIMAPCheckAccountOperation.h"
+
+using namespace mailcore;
+
+#define nativeType IMAPCheckAccountOperation
+#define javaType nativeType
+
+MC_JAVA_BRIDGE
diff --git a/src/java/native/com_libmailcore_IMAPCheckAccountOperation.h b/src/java/native/com_libmailcore_IMAPCheckAccountOperation.h
new file mode 100644
index 00000000..651ca254
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPCheckAccountOperation.h
@@ -0,0 +1,15 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class com_libmailcore_IMAPCheckAccountOperation */
+
+#ifndef _Included_com_libmailcore_IMAPCheckAccountOperation
+#define _Included_com_libmailcore_IMAPCheckAccountOperation
+#ifdef __cplusplus
+extern "C" {
+#endif
+#undef com_libmailcore_IMAPCheckAccountOperation_serialVersionUID
+#define com_libmailcore_IMAPCheckAccountOperation_serialVersionUID 1LL
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/src/java/native/com_libmailcore_IMAPConnectOperation.cpp b/src/java/native/com_libmailcore_IMAPConnectOperation.cpp
new file mode 100644
index 00000000..d60e1cce
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPConnectOperation.cpp
@@ -0,0 +1,13 @@
+#include "com_libmailcore_IMAPConnectOperation.h"
+
+#include "MCBaseTypes.h"
+#include "JavaHandle.h"
+#include "TypesUtils.h"
+#include "MCIMAPConnectOperation.h"
+
+using namespace mailcore;
+
+#define nativeType IMAPConnectOperation
+#define javaType nativeType
+
+MC_JAVA_BRIDGE
diff --git a/src/java/native/com_libmailcore_IMAPConnectOperation.h b/src/java/native/com_libmailcore_IMAPConnectOperation.h
new file mode 100644
index 00000000..b579ff7f
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPConnectOperation.h
@@ -0,0 +1,15 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class com_libmailcore_IMAPConnectOperation */
+
+#ifndef _Included_com_libmailcore_IMAPConnectOperation
+#define _Included_com_libmailcore_IMAPConnectOperation
+#ifdef __cplusplus
+extern "C" {
+#endif
+#undef com_libmailcore_IMAPConnectOperation_serialVersionUID
+#define com_libmailcore_IMAPConnectOperation_serialVersionUID 1LL
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/src/java/native/com_libmailcore_IMAPCreateFolderOperation.cpp b/src/java/native/com_libmailcore_IMAPCreateFolderOperation.cpp
new file mode 100644
index 00000000..8ba4df17
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPCreateFolderOperation.cpp
@@ -0,0 +1,13 @@
+#include "com_libmailcore_IMAPCreateFolderOperation.h"
+
+#include "MCBaseTypes.h"
+#include "JavaHandle.h"
+#include "TypesUtils.h"
+#include "MCIMAPCreateFolderOperation.h"
+
+using namespace mailcore;
+
+#define nativeType IMAPCreateFolderOperation
+#define javaType nativeType
+
+MC_JAVA_BRIDGE
diff --git a/src/java/native/com_libmailcore_IMAPCreateFolderOperation.h b/src/java/native/com_libmailcore_IMAPCreateFolderOperation.h
new file mode 100644
index 00000000..58968c6a
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPCreateFolderOperation.h
@@ -0,0 +1,15 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class com_libmailcore_IMAPCreateFolderOperation */
+
+#ifndef _Included_com_libmailcore_IMAPCreateFolderOperation
+#define _Included_com_libmailcore_IMAPCreateFolderOperation
+#ifdef __cplusplus
+extern "C" {
+#endif
+#undef com_libmailcore_IMAPCreateFolderOperation_serialVersionUID
+#define com_libmailcore_IMAPCreateFolderOperation_serialVersionUID 1LL
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/src/java/native/com_libmailcore_IMAPDeleteFolderOperation.cpp b/src/java/native/com_libmailcore_IMAPDeleteFolderOperation.cpp
new file mode 100644
index 00000000..84b58155
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPDeleteFolderOperation.cpp
@@ -0,0 +1,13 @@
+#include "com_libmailcore_IMAPDeleteFolderOperation.h"
+
+#include "MCBaseTypes.h"
+#include "JavaHandle.h"
+#include "TypesUtils.h"
+#include "MCIMAPDeleteFolderOperation.h"
+
+using namespace mailcore;
+
+#define nativeType IMAPDeleteFolderOperation
+#define javaType nativeType
+
+MC_JAVA_BRIDGE
diff --git a/src/java/native/com_libmailcore_IMAPDeleteFolderOperation.h b/src/java/native/com_libmailcore_IMAPDeleteFolderOperation.h
new file mode 100644
index 00000000..69a2c1c3
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPDeleteFolderOperation.h
@@ -0,0 +1,15 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class com_libmailcore_IMAPDeleteFolderOperation */
+
+#ifndef _Included_com_libmailcore_IMAPDeleteFolderOperation
+#define _Included_com_libmailcore_IMAPDeleteFolderOperation
+#ifdef __cplusplus
+extern "C" {
+#endif
+#undef com_libmailcore_IMAPDeleteFolderOperation_serialVersionUID
+#define com_libmailcore_IMAPDeleteFolderOperation_serialVersionUID 1LL
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/src/java/native/com_libmailcore_IMAPNoopOperation.cpp b/src/java/native/com_libmailcore_IMAPNoopOperation.cpp
new file mode 100644
index 00000000..39c441c9
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPNoopOperation.cpp
@@ -0,0 +1,13 @@
+#include "com_libmailcore_IMAPNoopOperation.h"
+
+#include "MCBaseTypes.h"
+#include "JavaHandle.h"
+#include "TypesUtils.h"
+#include "MCIMAPNoopOperation.h"
+
+using namespace mailcore;
+
+#define nativeType IMAPNoopOperation
+#define javaType nativeType
+
+MC_JAVA_BRIDGE
diff --git a/src/java/native/com_libmailcore_IMAPNoopOperation.h b/src/java/native/com_libmailcore_IMAPNoopOperation.h
new file mode 100644
index 00000000..1b795fd4
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPNoopOperation.h
@@ -0,0 +1,15 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class com_libmailcore_IMAPNoopOperation */
+
+#ifndef _Included_com_libmailcore_IMAPNoopOperation
+#define _Included_com_libmailcore_IMAPNoopOperation
+#ifdef __cplusplus
+extern "C" {
+#endif
+#undef com_libmailcore_IMAPNoopOperation_serialVersionUID
+#define com_libmailcore_IMAPNoopOperation_serialVersionUID 1LL
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/src/java/native/com_libmailcore_IMAPRenameFolderOperation.cpp b/src/java/native/com_libmailcore_IMAPRenameFolderOperation.cpp
new file mode 100644
index 00000000..8889b8f8
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPRenameFolderOperation.cpp
@@ -0,0 +1,13 @@
+#include "com_libmailcore_IMAPRenameFolderOperation.h"
+
+#include "MCBaseTypes.h"
+#include "JavaHandle.h"
+#include "TypesUtils.h"
+#include "MCIMAPRenameFolderOperation.h"
+
+using namespace mailcore;
+
+#define nativeType IMAPRenameFolderOperation
+#define javaType nativeType
+
+MC_JAVA_BRIDGE
diff --git a/src/java/native/com_libmailcore_IMAPRenameFolderOperation.h b/src/java/native/com_libmailcore_IMAPRenameFolderOperation.h
new file mode 100644
index 00000000..d032b54c
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPRenameFolderOperation.h
@@ -0,0 +1,15 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class com_libmailcore_IMAPRenameFolderOperation */
+
+#ifndef _Included_com_libmailcore_IMAPRenameFolderOperation
+#define _Included_com_libmailcore_IMAPRenameFolderOperation
+#ifdef __cplusplus
+extern "C" {
+#endif
+#undef com_libmailcore_IMAPRenameFolderOperation_serialVersionUID
+#define com_libmailcore_IMAPRenameFolderOperation_serialVersionUID 1LL
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/src/java/native/com_libmailcore_IMAPStoreFlagsOperation.cpp b/src/java/native/com_libmailcore_IMAPStoreFlagsOperation.cpp
new file mode 100644
index 00000000..ba4b418f
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPStoreFlagsOperation.cpp
@@ -0,0 +1,14 @@
+#include "com_libmailcore_IMAPStoreFlagsOperation.h"
+
+#include "MCBaseTypes.h"
+#include "JavaHandle.h"
+#include "TypesUtils.h"
+#include "MCIMAPStoreFlagsOperation.h"
+
+using namespace mailcore;
+
+#define nativeType IMAPStoreFlagsOperation
+#define javaType nativeType
+
+MC_JAVA_BRIDGE
+ \ No newline at end of file
diff --git a/src/java/native/com_libmailcore_IMAPStoreFlagsOperation.h b/src/java/native/com_libmailcore_IMAPStoreFlagsOperation.h
new file mode 100644
index 00000000..ca9f2086
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPStoreFlagsOperation.h
@@ -0,0 +1,15 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class com_libmailcore_IMAPStoreFlagsOperation */
+
+#ifndef _Included_com_libmailcore_IMAPStoreFlagsOperation
+#define _Included_com_libmailcore_IMAPStoreFlagsOperation
+#ifdef __cplusplus
+extern "C" {
+#endif
+#undef com_libmailcore_IMAPStoreFlagsOperation_serialVersionUID
+#define com_libmailcore_IMAPStoreFlagsOperation_serialVersionUID 1LL
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/src/java/native/com_libmailcore_IMAPStoreLabelsOperation.cpp b/src/java/native/com_libmailcore_IMAPStoreLabelsOperation.cpp
new file mode 100644
index 00000000..13f9f285
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPStoreLabelsOperation.cpp
@@ -0,0 +1,14 @@
+#include "com_libmailcore_IMAPStoreLabelsOperation.h"
+
+#include "MCBaseTypes.h"
+#include "JavaHandle.h"
+#include "TypesUtils.h"
+#include "MCIMAPStoreLabelsOperation.h"
+
+using namespace mailcore;
+
+#define nativeType IMAPStoreLabelsOperation
+#define javaType nativeType
+
+MC_JAVA_BRIDGE
+ \ No newline at end of file
diff --git a/src/java/native/com_libmailcore_IMAPStoreLabelsOperation.h b/src/java/native/com_libmailcore_IMAPStoreLabelsOperation.h
new file mode 100644
index 00000000..a6bad9cb
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPStoreLabelsOperation.h
@@ -0,0 +1,15 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class com_libmailcore_IMAPStoreLabelsOperation */
+
+#ifndef _Included_com_libmailcore_IMAPStoreLabelsOperation
+#define _Included_com_libmailcore_IMAPStoreLabelsOperation
+#ifdef __cplusplus
+extern "C" {
+#endif
+#undef com_libmailcore_IMAPStoreLabelsOperation_serialVersionUID
+#define com_libmailcore_IMAPStoreLabelsOperation_serialVersionUID 1LL
+#ifdef __cplusplus
+}
+#endif
+#endif
diff --git a/src/java/native/com_libmailcore_IMAPSubscribeFolderOperation.cpp b/src/java/native/com_libmailcore_IMAPSubscribeFolderOperation.cpp
new file mode 100644
index 00000000..f35d587c
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPSubscribeFolderOperation.cpp
@@ -0,0 +1,13 @@
+#include "com_libmailcore_IMAPSubscribeFolderOperation.h"
+
+#include "MCBaseTypes.h"
+#include "JavaHandle.h"
+#include "TypesUtils.h"
+#include "MCIMAPSubscribeFolderOperation.h"
+
+using namespace mailcore;
+
+#define nativeType IMAPSubscribeFolderOperation
+#define javaType nativeType
+
+MC_JAVA_BRIDGE
diff --git a/src/java/native/com_libmailcore_IMAPSubscribeFolderOperation.h b/src/java/native/com_libmailcore_IMAPSubscribeFolderOperation.h
new file mode 100644
index 00000000..88fb7965
--- /dev/null
+++ b/src/java/native/com_libmailcore_IMAPSubscribeFolderOperation.h
@@ -0,0 +1,15 @@
+/* DO NOT EDIT THIS FILE - it is machine generated */
+#include <jni.h>
+/* Header for class com_libmailcore_IMAPSubscribeFolderOperation */
+
+#ifndef _Included_com_libmailcore_IMAPSubscribeFolderOperation
+#define _Included_com_libmailcore_IMAPSubscribeFolderOperation
+#ifdef __cplusplus
+extern "C" {
+#endif
+#undef com_libmailcore_IMAPSubscribeFolderOperation_serialVersionUID
+#define com_libmailcore_IMAPSubscribeFolderOperation_serialVersionUID 1LL
+#ifdef __cplusplus
+}
+#endif
+#endif