src/string_type.h
author peter1138
Sun, 31 Aug 2008 16:41:27 +0000
changeset 10043 7f8f7df729d3
parent 8214 971f861d5543
permissions -rw-r--r--
(svn r14203) -Codechange: [NewGRF] Disable a GRF if it contains an unknown property, or tries to assign an invalid ID.
8214
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     1
/* $Id$ */
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     2
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     3
/** @file string_type.h Types for strings. */
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     4
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     5
#ifndef STRING_TYPE_H
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     6
#define STRING_TYPE_H
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     7
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     8
/**
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
     9
 * Valid filter types for IsValidChar.
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    10
 */
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    11
enum CharSetFilter {
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    12
	CS_ALPHANUMERAL,      ///< Both numeric and alphabetic and spaces and stuff
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    13
	CS_NUMERAL,           ///< Only numeric ones
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    14
	CS_ALPHA,             ///< Only alphabetic values
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    15
};
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    16
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    17
typedef uint32 WChar;
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    18
971f861d5543 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
rubidium
parents:
diff changeset
    19
#endif /* STRING_TYPE_H */