From f46be446304dcb2d609fcd2648fd36d3f2fda054 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 28 Sep 2008 18:02:06 +0000 Subject: intro module groundworks --- src/core/parser.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 src/core/parser.h (limited to 'src/core/parser.h') diff --git a/src/core/parser.h b/src/core/parser.h new file mode 100644 index 0000000..4f7b843 --- /dev/null +++ b/src/core/parser.h @@ -0,0 +1,25 @@ +/* + core/parser.h + This file is part of the Osirion project and is distributed under + the terms of the GNU General Public License version 2 +*/ + +#ifndef __INCLUDED_CORE_PARSER_H__ +#define __INCLUDED_CORE_PARSER_H__ + + +#include "filesystem/inifile.h" +#include "core/entity.h" + +namespace core { + +/// general parser routines +class Parser { +public: + /// read default entity keys from an ini file + static bool got_entity_key(filesystem::IniFile &inifile, core::Entity *entity); +}; + +} + +#endif // __INCLUDED_CORE_PARSER_H__ \ No newline at end of file -- cgit v1.2.3