aboutsummaryrefslogtreecommitdiff
path: root/backends/PalmOS/Src/globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/PalmOS/Src/globals.h')
-rw-r--r--backends/PalmOS/Src/globals.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/backends/PalmOS/Src/globals.h b/backends/PalmOS/Src/globals.h
new file mode 100644
index 0000000000..f25ba9f547
--- /dev/null
+++ b/backends/PalmOS/Src/globals.h
@@ -0,0 +1,35 @@
+#ifndef GLOBALS_H
+#define GLOBALS_H
+
+typedef struct {
+ DmOpenRef globals[3];
+
+ UInt16 HRrefNum;
+ UInt16 volRefNum;
+ FileRef logFile;
+
+ Boolean screenLocked;
+ Boolean vibrator;
+ Boolean stdPalette;
+/*
+ struct {
+ UInt16 speaker;
+ UInt16 headphone;
+ } volume;
+*/
+ struct {
+ UInt8 on;
+ UInt8 off;
+ } indicator;
+
+ struct {
+ UInt8 *pageAddr1;
+ UInt8 *pageAddr2;
+ } flipping;
+
+} GlobalsDataType;
+
+extern GlobalsDataType *gVars;
+
+
+#endif \ No newline at end of file