algobox.h
branchgui
changeset 108 bf355fd6563e
parent 106 853dd852abc7
child 109 9f8dc346ac6e
     1.1 --- a/algobox.h	Thu Jan 05 01:54:24 2006 +0000
     1.2 +++ b/algobox.h	Thu Jan 05 12:30:09 2006 +0000
     1.3 @@ -6,6 +6,7 @@
     1.4  class AlgoBox;
     1.5  
     1.6  #include <all_include.h>
     1.7 +#include <mapstorage.h>
     1.8  #include <libgnomecanvasmm.h>
     1.9  #include <libgnomecanvasmm/polygon.h>
    1.10  
    1.11 @@ -19,18 +20,23 @@
    1.12    Gtk::Label * label;
    1.13    std::vector<Gtk::ComboBoxText *> nodemapcbts;
    1.14    std::vector<Gtk::ComboBoxText *> edgemapcbts;
    1.15 -  
    1.16 +
    1.17 +  MapStorage * mapstorage;
    1.18 +
    1.19  public:
    1.20    AlgoBox(){};
    1.21 -  AlgoBox(std::vector<std::string>, std::vector<std::string>, std::vector<std::string>);
    1.22 +  AlgoBox(std::vector<std::string>);
    1.23  
    1.24 -  virtual void init(std::vector<std::string>, std::vector<std::string>, std::vector<std::string>);
    1.25 +  virtual void init(std::vector<std::string>);
    1.26  
    1.27    sigc::signal<void, std::string> signal_maplist_needed();  
    1.28    void emit_tab_change();
    1.29  
    1.30    void update_tablist( std::vector< std::string > tl );
    1.31 -  void update_maplist( std::vector< std::string >, std::vector< std::string >);
    1.32 +  void update_maplist( void * );
    1.33 +
    1.34 +  void nodemaplist_changed(std::string);
    1.35 +  void edgemaplist_changed(std::string);
    1.36  
    1.37    void update_cbt( std::vector< std::string > tl, Gtk::ComboBoxText &);
    1.38