gui/gui_reader.h
author hegyi
Thu, 05 Jan 2006 16:54:34 +0000
changeset 1879 01d41844ef46
permissions -rw-r--r--
Kruskal algorithm can be run from GUI from now on.
ladanyi@1860
     1
#ifndef GUI_READER_H
ladanyi@1860
     2
#define GUI_READER_H
ladanyi@1860
     3
ladanyi@1860
     4
#include "mapstorage.h"
ladanyi@1860
     5
#include <lemon/lemon_reader.h>
ladanyi@1860
     6
ladanyi@1860
     7
using lemon::LemonReader;
ladanyi@1860
     8
ladanyi@1860
     9
class GuiReader : public LemonReader::SectionReader
ladanyi@1860
    10
{
ladanyi@1860
    11
  private:
ladanyi@1860
    12
    MapStorage* mapstorage;
ladanyi@1860
    13
  protected:
ladanyi@1860
    14
    virtual bool header(const std::string&);
ladanyi@1860
    15
    virtual void read(std::istream&);
ladanyi@1860
    16
  public:
ladanyi@1860
    17
    typedef LemonReader::SectionReader Parent;
ladanyi@1860
    18
    GuiReader(LemonReader&, MapStorage*);
ladanyi@1860
    19
};
ladanyi@1860
    20
ladanyi@1860
    21
#endif