X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdesigner%2Fselection.h;h=1c0d267f1618044271f7672c967c61d8cb118db6;hb=bc955b09faf8365a72d07bb5ee1253c9b958c897;hp=36e44354212b70f1d202ac5fed44f5f1c807bd5e;hpb=6c61179fe09af2f5366d50f10aadbf5f83438087;p=r2c2.git diff --git a/source/designer/selection.h b/source/designer/selection.h index 36e4435..1c0d267 100644 --- a/source/designer/selection.h +++ b/source/designer/selection.h @@ -7,12 +7,13 @@ class Selection { -public: - typedef std::set TrackSet; +private: + std::set tracks; +public: sigc::signal signal_changed; - const TrackSet &get_tracks() const { return tracks; } + const std::set &get_tracks() const { return tracks; } Marklin::Track *get_track() const; unsigned size() const { return tracks.size(); } void clear(); @@ -21,8 +22,6 @@ public: void toggle_track(Marklin::Track *); void select_more(); void select_linked(); -private: - TrackSet tracks; }; #endif