author | hegyi |
Fri, 06 Jan 2006 14:36:46 +0000 | |
changeset 1882 | 2c3f6c7e01b4 |
permissions | -rw-r--r-- |
ladanyi@1860 | 1 |
#ifndef GUI_WRITER_H |
ladanyi@1860 | 2 |
#define GUI_WRITER_H |
ladanyi@1860 | 3 |
|
ladanyi@1860 | 4 |
#include "mapstorage.h" |
ladanyi@1860 | 5 |
#include <lemon/lemon_writer.h> |
ladanyi@1860 | 6 |
|
ladanyi@1860 | 7 |
using lemon::LemonWriter; |
ladanyi@1860 | 8 |
|
ladanyi@1860 | 9 |
class GuiWriter : public LemonWriter::SectionWriter |
ladanyi@1860 | 10 |
{ |
ladanyi@1860 | 11 |
private: |
ladanyi@1860 | 12 |
MapStorage* mapstorage; |
ladanyi@1860 | 13 |
protected: |
ladanyi@1860 | 14 |
virtual std::string header(); |
ladanyi@1860 | 15 |
virtual void write(std::ostream&); |
ladanyi@1860 | 16 |
public: |
ladanyi@1860 | 17 |
typedef LemonWriter::SectionWriter Parent; |
ladanyi@1860 | 18 |
GuiWriter(LemonWriter&, MapStorage*); |
ladanyi@1860 | 19 |
}; |
ladanyi@1860 | 20 |
|
ladanyi@1860 | 21 |
#endif |