summaryrefslogtreecommitdiff
path: root/src/string_type.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-01-07 14:23:25 +0000
committerrubidium <rubidium@openttd.org>2008-01-07 14:23:25 +0000
commita3ccdcea3663963939f75a9cc842f915b8e49767 (patch)
treed691be4529ae6acb6f5b7682aec3ff759e342438 /src/string_type.h
parent38115acf5adbcf66643d1f96e30b9abc6dec15a3 (diff)
downloadopenttd-a3ccdcea3663963939f75a9cc842f915b8e49767.tar.xz
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
Diffstat (limited to 'src/string_type.h')
-rw-r--r--src/string_type.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/string_type.h b/src/string_type.h
new file mode 100644
index 000000000..4d9a39f30
--- /dev/null
+++ b/src/string_type.h
@@ -0,0 +1,19 @@
+/* $Id$ */
+
+/** @file string_type.h Types for strings. */
+
+#ifndef STRING_TYPE_H
+#define STRING_TYPE_H
+
+/**
+ * Valid filter types for IsValidChar.
+ */
+enum CharSetFilter {
+ CS_ALPHANUMERAL, ///< Both numeric and alphabetic and spaces and stuff
+ CS_NUMERAL, ///< Only numeric ones
+ CS_ALPHA, ///< Only alphabetic values
+};
+
+typedef uint32 WChar;
+
+#endif /* STRING_TYPE_H */