diff -r 56eb90299693 -r adfdc2f70548 main_win.h --- a/main_win.h Wed Nov 23 16:24:59 2005 +0000 +++ b/main_win.h Tue Nov 29 19:31:58 2005 +0000 @@ -3,6 +3,8 @@ #ifndef MAIN_WIN_H #define MAIN_WIN_H +class MainWin; + #include "all_include.h" #include "mapstorage.h" #include "map_win.h" @@ -26,10 +28,10 @@ protected: ///Window of map-showing setup. Its type is \ref MapWin - MapWin mapwin; + MapWin * mapwin; ///The graph will be drawn on this \ref GraphDisplayerCanvas - GraphDisplayerCanvas gd_canvas; + GraphDisplayerCanvas * gd_canvas; ///ActionGroup for menu Glib::RefPtr ag; @@ -53,6 +55,17 @@ virtual void saveFileAs(); ///Callback for 'Close' action. virtual void close(); + +public: + void propertyChange(bool, int, std::string); + void popupNewMapWin(bool, int); + + std::string getActiveEdgeMap(int); + std::string getActiveNodeMap(int); + + void registerNewEdgeMap(std::string); + void registerNewNodeMap(std::string); + }; #endif //MAIN_WIN_H