aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sislangrecord.h
diff options
context:
space:
mode:
authorFritz Elfert <felfert@to.com>2002-02-28 20:56:59 +0000
committerFritz Elfert <felfert@to.com>2002-02-28 20:56:59 +0000
commiteecba3b5fcb47a01e6e13ee1940def989f6dd22d (patch)
tree970f3113de0d2b9b0544c1420117e0cf9633abcd /lib/sislangrecord.h
parent12241e0ff5ea242891fc3a8c177e8f55e897f2a3 (diff)
downloadplptools-eecba3b5fcb47a01e6e13ee1940def989f6dd22d.tar.gz
plptools-eecba3b5fcb47a01e6e13ee1940def989f6dd22d.tar.bz2
plptools-eecba3b5fcb47a01e6e13ee1940def989f6dd22d.zip
- Added SIS stuff by Daniel Brahneborg
Diffstat (limited to 'lib/sislangrecord.h')
-rw-r--r--lib/sislangrecord.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/sislangrecord.h b/lib/sislangrecord.h
new file mode 100644
index 0000000..e532c4e
--- /dev/null
+++ b/lib/sislangrecord.h
@@ -0,0 +1,23 @@
+#ifndef _SISLANGRECORD_H
+#define _SISLANGRECORD_H
+
+#include "sistypes.h"
+
+/**
+ * A simple language record, only containing the epoc specific 16 bit
+ * language number.
+ */
+class SISLangRecord
+{
+public:
+
+ /**
+ * Populate the fields.
+ */
+ void fillFrom(uchar* buf, int* base);
+
+ uint16 m_lang;
+};
+
+#endif
+