Move Diskstream ownership to Track, so that Session no longer holds lists of Diskstre...
[ardour.git] / gtk2_ardour / editor.h
index ca7d7766eecd5c2a6dbe158f3b69f929a9f831bc..ebd735e335ef439f346eb794c6730fe99cf487b9 100644 (file)
@@ -76,7 +76,6 @@ namespace Gtkmm2ext {
 }
 
 namespace ARDOUR {
-       class AudioDiskstream;
        class RouteGroup;
        class Playlist;
        class AudioPlaylist;
@@ -223,11 +222,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
        std::vector<std::string> rb_opt_strings;
 #endif
 
-       /* option editor-access */
-
-       void set_show_waveforms_recording (bool yn);
-       bool show_waveforms_recording() const { return _show_waveforms_recording; }
-
        /* things that need to be public to be used in the main menubar */
 
        void new_region_from_selection ();
@@ -367,7 +361,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
        bool dragging_playhead () const { return _dragging_playhead; }
 
        void toggle_zero_line_visibility ();
-       void toggle_waveforms_while_recording ();
        void set_summary ();
        void set_group_tabs ();
        void toggle_measure_visibility ();
@@ -977,7 +970,7 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
        void queue_visual_change_y (double);
        void ensure_visual_change_idle_handler ();
 
-       void end_location_changed (ARDOUR::Location*);
+       void session_range_location_changed (ARDOUR::Location*);
 
        /* track views */
        TrackViewList track_views;
@@ -1174,17 +1167,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
        boost::shared_ptr<ARDOUR::AudioTrack> get_nth_selected_audio_track (int nth) const;
        boost::shared_ptr<ARDOUR::MidiTrack> get_nth_selected_midi_track (int nth) const;
 
-       /* generic interthread progress window */
-
-       ArdourDialog* interthread_progress_window;
-       Gtk::Label interthread_progress_label;
-       Gtk::VBox interthread_progress_vbox;
-       Gtk::ProgressBar interthread_progress_bar;
-       Gtk::Button interthread_cancel_button;
-       Gtk::Label interthread_cancel_label;
-       sigc::connection  interthread_progress_connection;
-       void interthread_cancel_clicked ();
-       void build_interthread_progress_window ();
        ARDOUR::InterThreadInfo* current_interthread_info;
 
        AnalysisWindow* analysis_window;
@@ -1201,7 +1183,6 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
        };
 
        EditorImportStatus import_status;
-       gint import_progress_timeout (void *);
        static void *_import_thread (void *);
        void* import_thread ();
        void finish_import ();
@@ -1426,8 +1407,6 @@ public:
        bool _follow_playhead;
         /// true if we scroll the tracks rather than the playhead
         bool _stationary_playhead;
-       /// true if waveforms should be shown while recording audio tracks, otherwise false
-       bool _show_waveforms_recording;
 
        ARDOUR::TempoMap::BBTPointList *current_bbt_points;
 
@@ -1480,13 +1459,13 @@ public:
        void transport_marker_context_menu (GdkEventButton*, ArdourCanvas::Item*);
        void new_transport_marker_context_menu (GdkEventButton*, ArdourCanvas::Item*);
        void build_range_marker_menu (bool loop_or_punch);
-       void build_marker_menu (bool start_or_end);
+       void build_marker_menu (bool);
        void build_tm_marker_menu ();
        void build_new_transport_marker_menu ();
 
        Gtk::Menu* tm_marker_menu;
        Gtk::Menu* marker_menu;
-       Gtk::Menu* start_end_marker_menu;
+       Gtk::Menu* session_range_marker_menu;
        Gtk::Menu* range_marker_menu;
        Gtk::Menu* transport_marker_menu;
        Gtk::Menu* new_transport_marker_menu;
@@ -1795,7 +1774,6 @@ public:
        /* freeze operations */
 
        ARDOUR::InterThreadInfo freeze_status;
-       gint freeze_progress_timeout (void *);
        static void* _freeze_thread (void*);
        void* freeze_thread ();