1.1 --- a/main_win.h Wed Nov 23 16:24:59 2005 +0000
1.2 +++ b/main_win.h Tue Nov 29 19:31:58 2005 +0000
1.3 @@ -3,6 +3,8 @@
1.4 #ifndef MAIN_WIN_H
1.5 #define MAIN_WIN_H
1.6
1.7 +class MainWin;
1.8 +
1.9 #include "all_include.h"
1.10 #include "mapstorage.h"
1.11 #include "map_win.h"
1.12 @@ -26,10 +28,10 @@
1.13
1.14 protected:
1.15 ///Window of map-showing setup. Its type is \ref MapWin
1.16 - MapWin mapwin;
1.17 + MapWin * mapwin;
1.18
1.19 ///The graph will be drawn on this \ref GraphDisplayerCanvas
1.20 - GraphDisplayerCanvas gd_canvas;
1.21 + GraphDisplayerCanvas * gd_canvas;
1.22
1.23 ///ActionGroup for menu
1.24 Glib::RefPtr<Gtk::ActionGroup> ag;
1.25 @@ -53,6 +55,17 @@
1.26 virtual void saveFileAs();
1.27 ///Callback for 'Close' action.
1.28 virtual void close();
1.29 +
1.30 +public:
1.31 + void propertyChange(bool, int, std::string);
1.32 + void popupNewMapWin(bool, int);
1.33 +
1.34 + std::string getActiveEdgeMap(int);
1.35 + std::string getActiveNodeMap(int);
1.36 +
1.37 + void registerNewEdgeMap(std::string);
1.38 + void registerNewNodeMap(std::string);
1.39 +
1.40 };
1.41
1.42 #endif //MAIN_WIN_H