author | ladanyi |
Wed, 13 Sep 2006 09:16:29 +0000 | |
changeset 147 | 10ef59f6633c |
child 174 | 95872af46fc4 |
permissions | -rw-r--r-- |
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 |