notably modify the design and logic of the startup dialog, so that we can handle...
[ardour.git] / gtk2_ardour / selection.h
index ded71c65e5a8f67a334b73615ed2c9cc03cd7aef..e30ca612eafde66f1a3cbf05018e3770b30ba159 100644 (file)
@@ -104,6 +104,8 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList
        sigc::signal<void> MidiNotesChanged;
        sigc::signal<void> MidiRegionsChanged;
 
+       void block_tracks_changed (bool);
+
        void clear ();
        bool empty (bool internal_selection = false);
 
@@ -112,6 +114,7 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList
        bool selected (TimeAxisView*);
        bool selected (RegionView*);
        bool selected (Marker*);
+       bool selected (ControlPoint*);
 
        void set (std::list<Selectable*> const &);
        void add (std::list<Selectable*> const &);
@@ -163,6 +166,7 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList
        void add (Marker*);
        void add (const std::list<Marker*>&);
        void add (const RegionSelection&);
+       void add (const PointSelection&);
        void remove (TimeAxisView*);
        void remove (const TrackViewList&);
        void remove (const MidiNoteSelection&);
@@ -176,6 +180,7 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList
        void remove (const std::list<boost::shared_ptr<ARDOUR::Playlist> >&);
        void remove (const std::list<Selectable*>&);
        void remove (Marker*);
+       void remove (ControlPoint *);
 
        void remove_regions (TimeAxisView *);
 
@@ -200,10 +205,9 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList
        int set_state (XMLNode const &, int);
 
   private:
-       void set_point_selection_from_line (AutomationLine const &);
-
        PublicEditor const * editor;
        uint32_t next_time_id;
+       bool _no_tracks_changed;
 };
 
 bool operator==(const Selection& a, const Selection& b);