summaryrefslogtreecommitdiff
path: root/platform/android/src/com/artifex/mupdf/fitz/Cookie.java
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/com/artifex/mupdf/fitz/Cookie.java')
-rw-r--r--platform/android/src/com/artifex/mupdf/fitz/Cookie.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/platform/android/src/com/artifex/mupdf/fitz/Cookie.java b/platform/android/src/com/artifex/mupdf/fitz/Cookie.java
new file mode 100644
index 00000000..a072e018
--- /dev/null
+++ b/platform/android/src/com/artifex/mupdf/fitz/Cookie.java
@@ -0,0 +1,30 @@
+package com.artifex.mupdf.fitz;
+
+public class Cookie
+{
+ // Private data
+ private long nativeCookie = 0;
+
+ // Construction
+ public Cookie()
+ {
+ nativeCookie = newNative();
+ }
+
+ private native long newNative();
+
+ // Operation
+ public native void abort();
+
+ //FIXME: Cookie accessors
+
+ // Destruction
+ protected native void finalize();
+
+ public void destroy()
+ {
+ finalize();
+ nativeCookie = 0;
+ }
+
+}