diff options
author | rubidium <rubidium@openttd.org> | 2008-01-07 14:23:25 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-01-07 14:23:25 +0000 |
commit | b09d957f31b29baa45d30040a12ca3ab553abcb0 (patch) | |
tree | d691be4529ae6acb6f5b7682aec3ff759e342438 /src/string_type.h | |
parent | 71d4004a851536b961fe2c90a1fcae234769f674 (diff) | |
download | openttd-b09d957f31b29baa45d30040a12ca3ab553abcb0.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.h | 19 |
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 */ |