gui_writer.h
branchgui
changeset 98 f60f89147531
child 174 95872af46fc4
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/gui_writer.h	Sat Dec 17 20:55:41 2005 +0000
     1.3 @@ -0,0 +1,21 @@
     1.4 +#ifndef GUI_WRITER_H
     1.5 +#define GUI_WRITER_H
     1.6 +
     1.7 +#include "mapstorage.h"
     1.8 +#include <lemon/lemon_writer.h>
     1.9 +
    1.10 +using lemon::LemonWriter;
    1.11 +
    1.12 +class GuiWriter : public LemonWriter::SectionWriter
    1.13 +{
    1.14 +  private:
    1.15 +    MapStorage* mapstorage;
    1.16 +  protected:
    1.17 +    virtual std::string header();
    1.18 +    virtual void write(std::ostream&);
    1.19 +  public:
    1.20 +    typedef LemonWriter::SectionWriter Parent;
    1.21 +    GuiWriter(LemonWriter&, MapStorage*);
    1.22 +};
    1.23 +
    1.24 +#endif