gui_reader.h
author hegyi
Thu, 05 Jan 2006 12:30:09 +0000
branchgui
changeset 108 bf355fd6563e
child 174 95872af46fc4
permissions -rw-r--r--
Several changes. \n If new map is added to mapstorage it emits signal with the name of the new map. This was important, because from now on not only tha mapwin should be updated. \n Furthermore algobox gets a pointer to mapstorage instead of only the mapnames from it. This is important because without it it would be complicated to pass all of the required maps to algobox.
     1 #ifndef GUI_READER_H
     2 #define GUI_READER_H
     3 
     4 #include "mapstorage.h"
     5 #include <lemon/lemon_reader.h>
     6 
     7 using lemon::LemonReader;
     8 
     9 class GuiReader : public LemonReader::SectionReader
    10 {
    11   private:
    12     MapStorage* mapstorage;
    13   protected:
    14     virtual bool header(const std::string&);
    15     virtual void read(std::istream&);
    16   public:
    17     typedef LemonReader::SectionReader Parent;
    18     GuiReader(LemonReader&, MapStorage*);
    19 };
    20 
    21 #endif