summaryrefslogtreecommitdiff
path: root/src/mmo/config_parse.hpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-06-26 21:59:27 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-06-26 22:28:22 -0700
commit2f4fc005937e75d931eb6ef87a3fe16364d45113 (patch)
tree2a60ea7b58e9a3045ec0e0754e075ae958e46409 /src/mmo/config_parse.hpp
parentf5fcb973cfad6221264a2a859f5236c3cef2c470 (diff)
downloadtmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.gz
tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.bz2
tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.tar.xz
tmwa-2f4fc005937e75d931eb6ef87a3fe16364d45113.zip
Stick everything in a namespace
Diffstat (limited to 'src/mmo/config_parse.hpp')
-rw-r--r--src/mmo/config_parse.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mmo/config_parse.hpp b/src/mmo/config_parse.hpp
index 080f13c..5389b5d 100644
--- a/src/mmo/config_parse.hpp
+++ b/src/mmo/config_parse.hpp
@@ -23,6 +23,9 @@
# include "../strings/fwd.hpp"
+
+namespace tmwa
+{
typedef bool (*ConfigItemParser)(XString key, ZString value);
bool is_comment(XString line);
@@ -32,5 +35,6 @@ bool config_split(XString line, XString *key, XString *value);
/// Master config parser. This handles 'import' and 'version-ge' etc.
/// Then it defers to the inferior parser for a line it does not understand.
bool load_config_file(ZString filename, ConfigItemParser slave);
+} // namespace tmwa
#endif // TMWA_MMO_CONFIG_PARSE_HPP