summaryrefslogtreecommitdiff
path: root/src/common/utils.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-09-26 23:55:29 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-10-05 13:42:45 -0700
commitcaae1e38d0d239f4f7088a64526fe1d2f6587999 (patch)
tree42ba875885f7593c070da93f828b7ae38ea2dc7c /src/common/utils.cpp
parent06c411ef291e1f608487989b0da63aefbbdfefc1 (diff)
downloadtmwa-caae1e38d0d239f4f7088a64526fe1d2f6587999.tar.gz
tmwa-caae1e38d0d239f4f7088a64526fe1d2f6587999.tar.bz2
tmwa-caae1e38d0d239f4f7088a64526fe1d2f6587999.tar.xz
tmwa-caae1e38d0d239f4f7088a64526fe1d2f6587999.zip
Split string header into pieces
Diffstat (limited to 'src/common/utils.cpp')
-rw-r--r--src/common/utils.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/common/utils.cpp b/src/common/utils.cpp
index 9ab470b..21440a4 100644
--- a/src/common/utils.cpp
+++ b/src/common/utils.cpp
@@ -5,6 +5,12 @@
#include <algorithm>
+#include "../strings/fstring.hpp"
+#include "../strings/tstring.hpp"
+#include "../strings/sstring.hpp"
+#include "../strings/zstring.hpp"
+#include "../strings/xstring.hpp"
+
#include "cxxstdio.hpp"
#include "extract.hpp"
@@ -42,7 +48,7 @@ bool e_mail_check(XString email)
// Return numerical value of a switch configuration
// on/off, english, français, deutsch, español
//-------------------------------------------------
-int config_switch (ZString str)
+int config_switch(ZString str)
{
if (str == "true" || str == "on" || str == "yes"
|| str == "oui" || str == "ja"