X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fdesigner%2Fselection.h;h=24d935458448014411d5a65c32cb5b98bd054fe7;hb=293bfd4d1a5dbd57c7d3c657e5f6467d9f2e3300;hp=802c6f2b1d54e7b67f42fa1ceecb0b673ffe8d46;hpb=3e9c210ddc036cd015228504cc0803c909e27f84;p=r2c2.git diff --git a/source/designer/selection.h b/source/designer/selection.h index 802c6f2..24d9354 100644 --- a/source/designer/selection.h +++ b/source/designer/selection.h @@ -14,12 +14,13 @@ Distributed under the GPL class Selection { +public: + sigc::signal signal_changed; + private: std::set tracks; public: - sigc::signal signal_changed; - const std::set &get_tracks() const { return tracks; } Marklin::Track *get_track() const; unsigned size() const { return tracks.size(); } @@ -29,6 +30,7 @@ public: void toggle_track(Marklin::Track *); void select_more(); void select_linked(); + void select_blocks(); }; #endif