gui/gui_writer.h
author alpar
Wed, 01 Feb 2006 11:33:16 +0000
changeset 1937 7a7a1f95cc24
permissions -rw-r--r--
Some useful scripts:
check-compiler: test whether the repo compiles warningless
with various compilers.
check-integrity: checks whether everything is svn-added,
the makefiles are correct etc.
release: creates a version numbered release. Is modifies the repository.
DO NOT PLAY WITH IT!
     1 #ifndef GUI_WRITER_H
     2 #define GUI_WRITER_H
     3 
     4 #include "mapstorage.h"
     5 #include <lemon/lemon_writer.h>
     6 
     7 using lemon::LemonWriter;
     8 
     9 class GuiWriter : public LemonWriter::SectionWriter
    10 {
    11   private:
    12     MapStorage* mapstorage;
    13   protected:
    14     virtual std::string header();
    15     virtual void write(std::ostream&);
    16   public:
    17     typedef LemonWriter::SectionWriter Parent;
    18     GuiWriter(LemonWriter&, MapStorage*);
    19 };
    20 
    21 #endif