Add newline to DEBUG::Soundcloud so that it's readable & flushed
[ardour.git] / gtk2_ardour / route_time_axis.h
index 9956aa6f3fe13c37af5cfc80f600e4fc5b8bc324..3566d6624e85abd5d8eafc6784f90cd2e6122d41 100644 (file)
@@ -78,10 +78,14 @@ public:
        RouteTimeAxisView (PublicEditor&, ARDOUR::Session*, ArdourCanvas::Canvas& canvas);
        virtual ~RouteTimeAxisView ();
 
-       void set_route (boost::shared_ptr<ARDOUR::Route>);
+       std::string name()  const;
+       Gdk::Color color () const;
+       bool marked_for_display () const;
+       bool set_marked_for_display (bool);
+
+       boost::shared_ptr<ARDOUR::Stripable> stripable() const { return RouteUI::stripable(); }
 
-       boost::shared_ptr<ARDOUR::Stripable> stripable() const;
-       ARDOUR::PresentationInfo const & presentation_info () const;
+       void set_route (boost::shared_ptr<ARDOUR::Route>);
 
        void show_selection (TimeSelection&);
        void set_button_names ();
@@ -103,7 +107,7 @@ public:
 
        /* Editing operations */
        void cut_copy_clear (Selection&, Editing::CutCopyOp);
-       bool paste (ARDOUR::framepos_t, const Selection&, PasteContext& ctx);
+       bool paste (ARDOUR::framepos_t, const Selection&, PasteContext& ctx, const int32_t sub_num);
        RegionView* combine_regions ();
        void uncombine_regions ();
        void uncombine_region (RegionView*);
@@ -111,8 +115,7 @@ public:
        void fade_range (TimeSelection&);
 
        /* The editor calls these when mapping an operation across multiple tracks */
-       void use_new_playlist (bool prompt, std::vector<boost::shared_ptr<ARDOUR::Playlist> > const &);
-       void use_copy_playlist (bool prompt, std::vector<boost::shared_ptr<ARDOUR::Playlist> > const &);
+       void use_new_playlist (bool prompt, std::vector<boost::shared_ptr<ARDOUR::Playlist> > const &, bool copy);
        void clear_playlist ();
 
        /* group playlist name resolving */
@@ -134,7 +137,6 @@ public:
        boost::shared_ptr<AutomationTimeAxisView> automation_child(Evoral::Parameter param);
        virtual Gtk::CheckMenuItem* automation_child_menu_item (Evoral::Parameter);
 
-       std::string         name() const;
        StreamView*         view() const { return _view; }
        ARDOUR::RouteGroup* route_group() const;
        boost::shared_ptr<ARDOUR::Playlist> playlist() const;
@@ -180,7 +182,7 @@ protected:
 
        void update_diskstream_display ();
 
-       gint route_group_click  (GdkEventButton *);
+       bool route_group_click  (GdkEventButton *);
 
        void processors_changed (ARDOUR::RouteProcessorChange);
 
@@ -212,6 +214,8 @@ protected:
        void route_property_changed (const PBD::PropertyChange&);
        bool name_entry_changed (std::string const&);
 
+       virtual void toggle_channel_selector () {}
+
        void blink_rec_display (bool onoff);
 
        virtual void label_view ();
@@ -224,13 +228,13 @@ protected:
 
        void set_align_choice (Gtk::RadioMenuItem*, ARDOUR::AlignChoice, bool apply_to_selection = false);
 
-       void         playlist_click ();
+       bool         playlist_click (GdkEventButton *);
        void         show_playlist_selector ();
        void         playlist_changed ();
 
        void rename_current_playlist ();
 
-       void         automation_click ();
+       bool         automation_click (GdkEventButton *);
 
        virtual void show_all_automation (bool apply_to_selection = false);
        virtual void show_existing_automation (bool apply_to_selection = false);
@@ -246,7 +250,7 @@ protected:
        void create_mute_automation_child (const Evoral::Parameter &, bool);
        void setup_processor_menu_and_curves ();
        void route_color_changed ();
-        bool can_edit_name() const;
+       bool can_edit_name() const;
 
        boost::shared_ptr<AutomationTimeAxisView> gain_track;
        boost::shared_ptr<AutomationTimeAxisView> trim_track;
@@ -278,7 +282,9 @@ protected:
 
        ArdourCanvas::Rectangle* timestretch_rect;
 
+#ifdef XXX_OLD_DESTRUCTIVE_API_XXX
        void set_track_mode (ARDOUR::TrackMode, bool apply_to_selection = false);
+#endif
 
        /** Information about all automatable processor parameters that apply to
         *  this route.  The Amp processor is not included in this list.