mapstorage.h
changeset 172 fc1e478697d3
parent 118 cfd49e5c8723
child 173 8339178ae43d
     1.1 --- a/mapstorage.h	Tue Oct 24 07:31:31 2006 +0000
     1.2 +++ b/mapstorage.h	Wed Oct 25 13:21:24 2006 +0000
     1.3 @@ -85,6 +85,9 @@
     1.4    ///name of the new map
     1.5    sigc::signal<void, std::string> signal_edge_map;
     1.6  
     1.7 +  /// Signal emitted, when entry in \ref MapWin should be changed.
     1.8 +  sigc::signal<void, bool, int, std::string> signal_map_win;
     1.9 +
    1.10  public:
    1.11    ///Constructor of MapStorage.
    1.12  
    1.13 @@ -109,6 +112,9 @@
    1.14    ///\param mapname the visible map
    1.15    void changeActiveMap(bool itisedge , int prop , std::string mapname);
    1.16  
    1.17 +  ///Emits signals that let change the active maps in \ref MapWin.
    1.18 +  void broadcastActiveMaps();
    1.19 +
    1.20    /// Returns the active edgemap shown by a visualization property.
    1.21  
    1.22    /// \param prop is the property
    1.23 @@ -136,6 +142,9 @@
    1.24    ///returns \ref signal_edge_map to be able to connect functions to it
    1.25    sigc::signal<void, std::string> signal_edge_map_ch(){return signal_edge_map;};
    1.26  
    1.27 +  ///returns \ref signal_map_win to be able to connect functions to it
    1.28 +  sigc::signal<void, bool, int, std::string> signal_map_win_ch(){return signal_map_win;};
    1.29 +
    1.30    ///Adds given map to storage.
    1.31  
    1.32    ///A name and the map itself has to be provided.