(svn r23603) -Add: support for control commands in strings, in both network and safe/load (Rubidium)

This commit is contained in:
truebrain
2011-12-19 20:50:44 +00:00
parent 5394a8c220
commit 2b381d0765
6 changed files with 22 additions and 11 deletions

View File

@@ -49,6 +49,7 @@ enum StringValidationSettings {
SVS_NONE = 0, ///< Allow nothing and replace nothing.
SVS_REPLACE_WITH_QUESTION_MARK = 1 << 0, ///< Replace the unknown/bad bits with question marks.
SVS_ALLOW_NEWLINE = 1 << 1, ///< Allow newlines.
SVS_ALLOW_CONTROL_CODE = 1 << 2, ///< Allow the special control codes.
};
DECLARE_ENUM_AS_BIT_SET(StringValidationSettings);