From 74df5d49c8ff42c05d7eb9300c3a9f9a7257e694 Mon Sep 17 00:00:00 2001 From: Sampo Savolainen Date: Sun, 29 Oct 2006 19:46:24 +0000 Subject: [PATCH] Remove some unused function definitions. git-svn-id: svn://localhost/ardour2/trunk@1033 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/ardour_ui.h | 29 ------------------------- gtk2_ardour/editor.h | 41 ----------------------------------- gtk2_ardour/route_time_axis.h | 14 ------------ 3 files changed, 84 deletions(-) diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h index 4b03352bb6..3b941b6b3c 100644 --- a/gtk2_ardour/ardour_ui.h +++ b/gtk2_ardour/ardour_ui.h @@ -151,7 +151,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI void toggle_big_clock_window (); void toggle_connection_editor (); void toggle_route_params_window (); - void toggle_tempo_window (); void toggle_editing_space(); Gtk::Tooltips& tooltips() { return _tooltips; } @@ -168,7 +167,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI void rec_enable_button_blink (bool onoff, ARDOUR::AudioDiskstream *, Gtk::Widget *w); void name_io_setup (ARDOUR::AudioEngine&, string&, ARDOUR::IO& io, bool in); - void choose_io (ARDOUR::IO&, bool input); static gint hide_and_quit (GdkEventAny *ev, ArdourDialog *); @@ -221,7 +219,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI void toggle_click (); void toggle_session_auto_loop (); - void toggle_session_punch_in (); void toggle_options_window (); @@ -278,14 +275,10 @@ class ARDOUR_UI : public Gtkmm2ext::UI Gtk::Table option_table; int setup_windows (); - void setup_session_menu (); void setup_transport (); void setup_clock (); - void setup_session_info (); void setup_adjustables (); - Gtk::MenuBar* make_menubar (); - static ARDOUR_UI *theArdourUI; void startup (); @@ -293,8 +286,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI void finish(); int ask_about_saving_session (const string & why); - gint ask_about_save_deleted (GdkEventAny*); - void save_session_choice_made (int); int save_the_session; void queue_transport_change (); @@ -308,8 +299,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI void use_config (); - void clear_meters (); - static gint _blink (void *); void blink (); gint blink_timeout_tag; @@ -438,8 +427,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI void allow_mmc_and_local (); void allow_local_only (); - static void rate_printer (char buf[32], Gtk::Adjustment &, void *); - Gtk::Menu* session_popup_menu; struct RecentSessionModelColumns : public Gtk::TreeModel::ColumnRecord { @@ -459,7 +446,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI Gtk::FileChooserDialog* open_session_selector; void build_session_selector(); - void recent_session_selection_changed (); void redisplay_recent_sessions(); void recent_session_row_activated (const Gtk::TreePath& path, Gtk::TreeViewColumn* col); @@ -477,7 +463,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI void build_menu_bar (); void build_control_surface_menu (); - void pack_toplevel_controls(); Gtk::Label wall_clock_label; Gtk::EventBox wall_clock_box; @@ -515,8 +500,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI void open_session (); void open_recent_session (); - void open_ok_clicked (); - void save_template (); void session_add_audio_route (bool disk, int32_t input_channels, int32_t output_channels, ARDOUR::TrackMode mode, uint32_t how_many); @@ -537,14 +520,11 @@ class ARDOUR_UI : public Gtkmm2ext::UI void transport_rewind (int option); void transport_loop (); - void transport_locating (); void transport_rolling (); void transport_rewinding (); void transport_forwarding (); void transport_stopped (); - void send_all_midi_feedback (); - bool _session_is_new; void connect_to_session (ARDOUR::Session *); void connect_dependents_to_session (ARDOUR::Session *); @@ -556,9 +536,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI void snapshot_session (); - void map_record_state (); - void queue_map_record_state (); - Mixer_UI *mixer; int create_mixer (); @@ -584,7 +561,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI /* route dialog */ AddRouteDialog *add_route_dialog; - void add_route_dialog_done (int status); /* SoundFile Browser */ SoundFileBrowser *sfdb; @@ -597,9 +573,7 @@ class ARDOUR_UI : public Gtkmm2ext::UI /* Keymap handling */ - Glib::RefPtr get_common_actions(); void install_actions (); - void test_binding_action (const char *); void start_keyboard_prefix(); void toggle_record_enable (uint32_t); @@ -624,8 +598,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI struct timeval last_peak_grab; struct timeval last_shuttle_request; - void editor_display_control_changed (Editing::DisplayControl c); - bool have_disk_overrun_displayed; bool have_disk_underrun_displayed; @@ -671,7 +643,6 @@ class ARDOUR_UI : public Gtkmm2ext::UI void toggle_StopTransportAtEndOfSession(); void toggle_GainReduceFastTransport(); void toggle_LatchedSolo(); - void toggle_SoloViaBus(); void toggle_LatchedRecordEnable (); void mtc_port_changed (); diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index eb8f050d91..7c020d193c 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -244,11 +244,6 @@ class Editor : public PublicEditor void export_session(); void export_selection(); - /* this is what actually does it */ - - void export_audiofile (ARDOUR::AudioExportSpecification&); - - /* */ void add_toplevel_controls (Gtk::Container&); @@ -355,10 +350,8 @@ class Editor : public PublicEditor PlaylistSelector* _playlist_selector; void set_frames_per_unit (double); - void frames_per_unit_modified (); Editing::MouseMode mouse_mode; - void mouse_insert (GdkEventButton *); int pre_maximal_pane_position; void pane_allocation_handler (Gtk::Allocation&, Gtk::Paned*); @@ -495,9 +488,6 @@ class Editor : public PublicEditor bool verbose_cursor_on; // so far unused - void flush_track_canvas (); - void flush_time_canvas (); - Gtk::EventBox time_canvas_event_box; Gtk::EventBox track_canvas_event_box; Gtk::EventBox time_button_event_box; @@ -668,9 +658,6 @@ class Editor : public PublicEditor Gtk::Menu *edit_controls_left_menu; Gtk::Menu *edit_controls_right_menu; - void track_canvas_scroller_realized (); - void time_canvas_scroller_realized (); - Gtk::VBox track_canvas_vbox; Gtk::VBox time_canvas_vbox; Gtk::VBox edit_controls_vbox; @@ -807,9 +794,6 @@ class Editor : public PublicEditor void update_current_screen (); - gint show_track_context_menu (GdkEventButton *); - void hide_track_context_menu (); - void session_going_away (); nframes_t cut_buffer_start; @@ -865,7 +849,6 @@ class Editor : public PublicEditor void align_selection_relative (ARDOUR::RegionPoint point, nframes_t position); void align_region (boost::shared_ptr, ARDOUR::RegionPoint point, nframes_t position); void align_region_internal (boost::shared_ptr, ARDOUR::RegionPoint point, nframes_t position); - void remove_some_regions (); void remove_clicked_region (); void destroy_clicked_region (); void edit_region (); @@ -898,7 +881,6 @@ class Editor : public PublicEditor void keyboard_paste (); void keyboard_duplicate_region (); void keyboard_duplicate_selection (); - void keyboard_nudge (); void keyboard_insert_region_list_selection (); void region_from_selection (); @@ -909,10 +891,8 @@ class Editor : public PublicEditor void rename_region_finished (bool); void play_from_start (); - void play_from_edit_cursor (); void play_selected_region (); void audition_selected_region (); - void toggle_loop_playback (); void loop_selected_region (); void play_location (ARDOUR::Location&); void loop_location (ARDOUR::Location&); @@ -1030,10 +1010,6 @@ class Editor : public PublicEditor Editing::SnapMode snap_mode; double snap_threshold; - void soundfile_chosen_for_insert (const string & selection, bool split_channels); - void soundfile_chosen_for_embed (const string & selection, bool split_channels); - void soundfile_chosen_for_import (const string & selection, bool split_channels); - void handle_gui_changes (const string &, void *); void hide_all_tracks (bool with_select); @@ -1058,7 +1034,6 @@ class Editor : public PublicEditor std::set motion_frozen_playlists; void region_drag_motion_callback (ArdourCanvas::Item*, GdkEvent*); void region_drag_finished_callback (ArdourCanvas::Item*, GdkEvent*); - void region_copy_drag_finished_callback (ArdourCanvas::Item*, GdkEvent*); void cursor_drag_motion_callback (ArdourCanvas::Item*, GdkEvent*); void cursor_drag_finished_callback (ArdourCanvas::Item*, GdkEvent*); @@ -1146,11 +1121,7 @@ class Editor : public PublicEditor bool track_canvas_event (GdkEvent* event, ArdourCanvas::Item*); bool track_canvas_scroll (GdkEventScroll* event); - bool track_canvas_button_press_event (GdkEventButton *); - bool track_canvas_button_release_event (GdkEventButton *); - void track_canvas_allocate (Gtk::Allocation alloc); - void time_canvas_allocate (Gtk::Allocation alloc); void set_edit_cursor (GdkEvent* event); void set_playhead_cursor (GdkEvent* event); @@ -1176,7 +1147,6 @@ class Editor : public PublicEditor void handle_new_duration (); void initialize_canvas (); void reset_scrolling_region (Gtk::Allocation* alloc = 0); - void scroll_canvas (); /* display control */ @@ -1312,7 +1282,6 @@ class Editor : public PublicEditor Gtk::HBox zoom_box; - void update_zoom_indicator (); void zoom_adjustment_changed(); void edit_cursor_clock_changed(); @@ -1333,8 +1302,6 @@ class Editor : public PublicEditor void track_selection_changed (); void region_selection_changed (); void point_selection_changed (); - void audio_track_selection_changed (); - void line_selection_changed (); enum SelectionOp { CreateSelection, @@ -1423,7 +1390,6 @@ class Editor : public PublicEditor Glib::RefPtr route_display_model; Glib::RefPtr route_display_selection; - gint route_list_compare_func (Gtk::TreeModel::iterator, Gtk::TreeModel::iterator); Gtkmm2ext::DnDTreeView > route_list_display; Gtk::ScrolledWindow route_list_scroller; Gtk::Menu* route_list_menu; @@ -1438,7 +1404,6 @@ class Editor : public PublicEditor void route_list_reordered (const Gtk::TreeModel::Path& path, const Gtk::TreeModel::iterator& iter, int* what); bool ignore_route_list_reorder; bool no_route_list_redisplay; - void queue_route_list_reordered (); void build_route_list_menu (); void show_route_list_menu (); @@ -1486,9 +1451,6 @@ class Editor : public PublicEditor void new_edit_group (); void edit_group_list_button_clicked (); gint edit_group_list_button_press_event (GdkEventButton* ev); - void edit_group_selection_changed (); - void fake_add_edit_group (ARDOUR::RouteGroup* group); - void fake_remove_edit_group (ARDOUR::RouteGroup* group); void add_edit_group (ARDOUR::RouteGroup* group); void remove_selected_edit_group (); void edit_groups_changed (); @@ -1604,8 +1566,6 @@ class Editor : public PublicEditor UndoHistory visual_history; UndoTransaction current_visual_command; - void begin_reversible_visual_command (const string & cmd_name); - void commit_reversible_visual_command (); void update_title (); void update_title_s (const string & snapshot_name); @@ -1750,7 +1710,6 @@ class Editor : public PublicEditor void toggle_xfade_active (ARDOUR::Crossfade*); void toggle_xfade_length (ARDOUR::Crossfade*); void edit_xfade (ARDOUR::Crossfade*); - void remove_xfade (); void xfade_edit_left_region (); void xfade_edit_right_region (); diff --git a/gtk2_ardour/route_time_axis.h b/gtk2_ardour/route_time_axis.h index 1eb0cea00b..54fb387fcd 100644 --- a/gtk2_ardour/route_time_axis.h +++ b/gtk2_ardour/route_time_axis.h @@ -134,14 +134,6 @@ protected: gint edit_click (GdkEventButton *); - void build_redirect_window (); - void redirect_click (); - void redirect_add (); - void redirect_remove (); - void redirect_edit (); - void redirect_relist (); - void redirect_row_selected (gint row, gint col, GdkEvent *ev); - void add_to_redirect_display (ARDOUR::Redirect *); void redirects_changed (void *); void add_redirect_to_subplugin_menu (boost::shared_ptr); @@ -164,14 +156,10 @@ protected: void reset_redirect_automation_curves (); - void update_automation_view (ARDOUR::AutomationType); - void take_name_changed (void *); void route_name_changed (void *); void name_entry_changed (); - void on_area_realize (); - virtual void label_view (); void add_edit_group_menu_item (ARDOUR::RouteGroup *, Gtk::RadioMenuItem::Group*); @@ -195,7 +183,6 @@ protected: void playlist_state_changed (ARDOUR::Change); void playlist_modified (); - void add_playlist_to_playlist_menu (ARDOUR::Playlist*); void rename_current_playlist (); void automation_click (); @@ -207,7 +194,6 @@ protected: void visual_click (); void hide_click (); - gint when_displayed (GdkEventAny*); void speed_changed ();