gui_reader.h
author hegyi
Mon, 18 Sep 2006 16:02:20 +0000
changeset 148 5adf29662354
child 174 95872af46fc4
permissions -rw-r--r--
When moving nodes with midbutton little red arrows keep their position.
ladanyi@98
     1
#ifndef GUI_READER_H
ladanyi@98
     2
#define GUI_READER_H
ladanyi@98
     3
ladanyi@98
     4
#include "mapstorage.h"
ladanyi@98
     5
#include <lemon/lemon_reader.h>
ladanyi@98
     6
ladanyi@98
     7
using lemon::LemonReader;
ladanyi@98
     8
ladanyi@98
     9
class GuiReader : public LemonReader::SectionReader
ladanyi@98
    10
{
ladanyi@98
    11
  private:
ladanyi@98
    12
    MapStorage* mapstorage;
ladanyi@98
    13
  protected:
ladanyi@98
    14
    virtual bool header(const std::string&);
ladanyi@98
    15
    virtual void read(std::istream&);
ladanyi@98
    16
  public:
ladanyi@98
    17
    typedef LemonReader::SectionReader Parent;
ladanyi@98
    18
    GuiReader(LemonReader&, MapStorage*);
ladanyi@98
    19
};
ladanyi@98
    20
ladanyi@98
    21
#endif