aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sislangrecord.h
diff options
context:
space:
mode:
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
+