summaryrefslogtreecommitdiff
path: root/include/string_util.h
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-02-03 00:26:25 -0800
committerYamaArashi <shadow962@live.com>2016-02-03 00:26:25 -0800
commit5fd538d1802b2ae9e3e854140f68cb45fe50e97a (patch)
treea7d3cc4b70435a6cc4a94b4497307393d743f28d /include/string_util.h
parent6f965a9eca507c27049fbd90a57f620b63c92d6d (diff)
RTC code/data
Diffstat (limited to 'include/string_util.h')
-rw-r--r--include/string_util.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/string_util.h b/include/string_util.h
index d1b90aa34..0dee55828 100644
--- a/include/string_util.h
+++ b/include/string_util.h
@@ -1,6 +1,16 @@
#ifndef GUARD_STRING_UTIL_H
#define GUARD_STRING_UTIL_H
+#include "global.h"
+
+#define CHAR_SPACE 0x00
+#define CHAR_QUESTION_MARK 0xAC
+#define CHAR_HYPHEN 0xAE
+#define CHAR_COLON 0xF0
+#define EXT_CTRL_CODE_BEGIN 0xFC // extended control code
+#define PLACEHOLDER_BEGIN 0xFD // string placeholder
+#define EOS 0xFF // end of string
+
enum StringConvertMode
{
STR_CONV_MODE_LEFT_ALIGN,