author | alpar |
Wed, 04 Jan 2006 13:31:59 +0000 | |
branch | gui |
changeset 105 | 9e78d14fd0ba |
child 174 | 95872af46fc4 |
permissions | -rw-r--r-- |
ladanyi@98 | 1 |
#ifndef GUI_WRITER_H |
ladanyi@98 | 2 |
#define GUI_WRITER_H |
ladanyi@98 | 3 |
|
ladanyi@98 | 4 |
#include "mapstorage.h" |
ladanyi@98 | 5 |
#include <lemon/lemon_writer.h> |
ladanyi@98 | 6 |
|
ladanyi@98 | 7 |
using lemon::LemonWriter; |
ladanyi@98 | 8 |
|
ladanyi@98 | 9 |
class GuiWriter : public LemonWriter::SectionWriter |
ladanyi@98 | 10 |
{ |
ladanyi@98 | 11 |
private: |
ladanyi@98 | 12 |
MapStorage* mapstorage; |
ladanyi@98 | 13 |
protected: |
ladanyi@98 | 14 |
virtual std::string header(); |
ladanyi@98 | 15 |
virtual void write(std::ostream&); |
ladanyi@98 | 16 |
public: |
ladanyi@98 | 17 |
typedef LemonWriter::SectionWriter Parent; |
ladanyi@98 | 18 |
GuiWriter(LemonWriter&, MapStorage*); |
ladanyi@98 | 19 |
}; |
ladanyi@98 | 20 |
|
ladanyi@98 | 21 |
#endif |