gui_writer.h
author hegyi
Wed, 30 Aug 2006 15:55:18 +0000
changeset 146 afd1d8bfcccd
child 174 95872af46fc4
permissions -rw-r--r--
Size of MapWin cannot be changed.
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