summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
Diffstat (limited to 'platform')
-rw-r--r--platform/winrt/mupdfwinrt/status.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/platform/winrt/mupdfwinrt/status.h b/platform/winrt/mupdfwinrt/status.h
new file mode 100644
index 00000000..af168d62
--- /dev/null
+++ b/platform/winrt/mupdfwinrt/status.h
@@ -0,0 +1,19 @@
+#pragma once
+
+typedef enum {
+ S_ISOK = 0,
+ E_FAILURE = 1,
+ E_OUTOFMEM = 2,
+ E_NEEDPASSWORD
+} status_t;
+
+typedef enum {
+ LINK_GOTO = 0,
+ LINK_URI,
+ TEXTBOX, /* Do double duty with this class */
+ NOT_SET,
+} link_t;
+
+#define SEARCH_FORWARD 1
+#define SEARCH_BACKWARD -1
+#define TEXT_NOT_FOUND -1