Slightly unpleasant hack to stop control points being
[ardour.git] / gtk2_ardour / selection.h
index c474faa5b2a23613f639fbdc0b41d10d50bbdcfc..e30ca612eafde66f1a3cbf05018e3770b30ba159 100644 (file)
@@ -114,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 &);
@@ -165,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&);
@@ -178,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 *);
 
@@ -202,8 +205,6 @@ 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;