diff options
author | Stijn Buys <ingar@osirion.org> | 2012-02-21 20:06:17 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2012-02-21 20:06:17 +0000 |
commit | 4460f43972bd52c498161c64d4ddcc4da4c45d20 (patch) | |
tree | bf9f56c6d0e04bc249986e4bfc2fd1fa30e1c60f /src/zoneproperties.h | |
parent | 43c292e1dda7c789a31cdb679065c75d8f8cebba (diff) |
Add support for zone properties, added framework to save files.
Diffstat (limited to 'src/zoneproperties.h')
-rw-r--r-- | src/zoneproperties.h | 35 |
1 files changed, 35 insertions, 0 deletions
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 <QTextStream> + +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__ |