From 4460f43972bd52c498161c64d4ddcc4da4c45d20 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Tue, 21 Feb 2012 20:06:17 +0000 Subject: Add support for zone properties, added framework to save files. --- src/zoneproperties.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'src/zoneproperties.h') diff --git a/src/zoneproperties.h b/src/zoneproperties.h index e69de29..9b79569 100644 --- a/src/zoneproperties.h +++ b/src/zoneproperties.h @@ -0,0 +1,35 @@ +/* + zoneproperties.h + This file is part of the Project::OSiRiON world editor + and is distributed under the terms and conditions of + the GNU General Public License version 2 +*/ + +#ifndef __INCLUDED_EDITOR_ZONEPROPERTIES__ +#define __INCLUDED_EDITOR_ZONEPROPERTIES__ + +#include "properties.h" + +#include + +namespace editor +{ + +/** + * @brief contains the game properties for a zone + * */ +class ZoneProperties : public Properties +{ +public: + ZoneProperties(); + virtual ~ZoneProperties(); + + /** + * @brief save ini formatted zone properties to a textstream + * */ + virtual void save(QTextStream &textstream); +}; + +} // namespace editor + +#endif // __INCLUDED_EDITOR_ZONEPROPERTIES__ -- cgit v1.2.3