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.
4 #include "mapstorage.h"
5 #include <lemon/lemon_reader.h>
7 using lemon::LemonReader;
9 class GuiReader : public LemonReader::SectionReader
12 MapStorage* mapstorage;
14 virtual bool header(const std::string&);
15 virtual void read(std::istream&);
17 typedef LemonReader::SectionReader Parent;
18 GuiReader(LemonReader&, MapStorage*);