Skip to content

Commit

Permalink
Remove unused includes
Browse files Browse the repository at this point in the history
  • Loading branch information
itmuckel committed May 27, 2022
1 parent eae1673 commit 13a233f
Show file tree
Hide file tree
Showing 12 changed files with 1 addition and 79 deletions.
31 changes: 0 additions & 31 deletions gtk2_ardour/ardour_ui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,16 @@
#include <algorithm>
#include <cmath>
#include <iostream>
#include <cerrno>

#include <stdarg.h>

#ifndef PLATFORM_WINDOWS
#include <sys/resource.h>
#endif

#ifdef __FreeBSD__
#include <sys/types.h>
#include <sys/sysctl.h>
#endif

#include <stdint.h>
#include <fcntl.h>
#include <signal.h>
#include <unistd.h>
#include <time.h>

Expand All @@ -67,26 +61,18 @@
#include <gtkmm/uimanager.h>

#include "pbd/error.h"
#include "pbd/basename.h"
#include "pbd/compose.h"
#include "pbd/convert.h"
#include "pbd/failed_constructor.h"
#include "pbd/file_archive.h"
#include "pbd/enumwriter.h"
#include "pbd/memento_command.h"
#include "pbd/openuri.h"
#include "pbd/stl_delete.h"
#include "pbd/types_convert.h"
#include "pbd/unwind.h"
#include "pbd/file_utils.h"
#include "pbd/localtime_r.h"
#include "pbd/pthread_utils.h"
#include "pbd/replace_all.h"
#include "pbd/scoped_file_descriptor.h"
#include "pbd/xml++.h"

#include "temporal/tempo.h"

#include "gtkmm2ext/application.h"
#include "gtkmm2ext/bindings.h"
#include "gtkmm2ext/gtk_ui.h"
Expand All @@ -102,30 +88,22 @@
#include "ardour/audio_track.h"
#include "ardour/audioengine.h"
#include "ardour/audiofilesource.h"
#include "ardour/automation_watch.h"
#include "ardour/disk_reader.h"
#include "ardour/disk_writer.h"
#include "ardour/filename_extensions.h"
#include "ardour/filesystem_paths.h"
#include "ardour/ltc_file_reader.h"
#include "ardour/monitor_control.h"
#include "ardour/midi_track.h"
#include "ardour/port.h"
#include "ardour/plugin_manager.h"
#include "ardour/process_thread.h"
#include "ardour/profile.h"
#include "ardour/recent_sessions.h"
#include "ardour/record_enable_control.h"
#include "ardour/revision.h"
#include "ardour/session_directory.h"
#include "ardour/session_route.h"
#include "ardour/session_state_utils.h"
#include "ardour/session_utils.h"
#include "ardour/source_factory.h"
#include "ardour/transport_master.h"
#include "ardour/transport_master_manager.h"
#include "ardour/triggerbox.h"
#include "ardour/system_exec.h"
#include "ardour/track.h"
#include "ardour/vca_manager.h"
#include "ardour/utils.h"
Expand All @@ -147,11 +125,9 @@
#include "temporal/time.h"

#include "about.h"
#include "editing.h"
#include "enums_convert.h"
#include "actions.h"
#include "add_route_dialog.h"
#include "ambiguous_file_dialog.h"
#include "ardour_message.h"
#include "ardour_ui.h"
#include "audio_clock.h"
Expand All @@ -164,7 +140,6 @@
#include "debug.h"
#include "engine_dialog.h"
#include "export_video_dialog.h"
#include "gain_meter.h"
#include "global_port_matrix.h"
#include "gui_object.h"
#include "gui_thread.h"
Expand All @@ -176,15 +151,12 @@
#include "lua_script_manager.h"
#include "luawindow.h"
#include "main_clock.h"
#include "missing_file_dialog.h"
#include "missing_plugin_dialog.h"
#include "mixer_ui.h"
#include "meterbridge.h"
#include "meter_patterns.h"
#include "mouse_cursors.h"
#include "nsm.h"
#include "opts.h"
#include "pingback.h"
#include "plugin_dspload_window.h"
#include "plugin_manager_ui.h"
#include "processor_box.h"
Expand All @@ -210,11 +182,8 @@
#include "trigger_page.h"
#include "triggerbox_ui.h"
#include "utils.h"
#include "utils_videotl.h"
#include "video_server_dialog.h"
#include "virtual_keyboard_window.h"
#include "add_video_dialog.h"
#include "transcode_video_dialog.h"
#include "plugin_selector.h"

#include "pbd/i18n.h"
Expand Down
4 changes: 0 additions & 4 deletions gtk2_ardour/editor_audiotrack.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#include "ardour/rc_configuration.h"

#include "canvas/canvas.h"

#include "editor.h"
#include "editing.h"
#include "audio_time_axis.h"
#include "route_time_axis.h"
#include "audio_region_view.h"
#include "selection.h"
Expand Down
4 changes: 0 additions & 4 deletions gtk2_ardour/editor_group_tabs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#include "gtkmm2ext/utils.h"

#include "ardour/route_group.h"

#include "gtkmm2ext/colors.h"
Expand All @@ -29,10 +27,8 @@
#include "editor_group_tabs.h"
#include "editor_route_groups.h"
#include "editor_routes.h"
#include "rgb_macros.h"
#include "route_time_axis.h"
#include "ui_config.h"
#include "utils.h"

#include "pbd/i18n.h"

Expand Down
6 changes: 0 additions & 6 deletions gtk2_ardour/editor_ops.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
#include <cstdlib>
#include <cmath>
#include <string>
#include <limits>
#include <map>
#include <set>

Expand Down Expand Up @@ -84,15 +83,12 @@
#include "ardour/triggerbox.h"
#include "ardour/vca_manager.h"

#include "canvas/canvas.h"

#include "actions.h"
#include "ardour_message.h"
#include "ardour_ui.h"
#include "audio_region_view.h"
#include "audio_streamview.h"
#include "audio_time_axis.h"
#include "automation_region_view.h"
#include "automation_time_axis.h"
#include "control_point.h"
#include "debug.h"
Expand All @@ -111,14 +107,12 @@
#include "midi_region_view.h"
#include "mixer_ui.h"
#include "mixer_strip.h"
#include "mouse_cursors.h"
#include "normalize_dialog.h"
#include "note.h"
#include "paste_context.h"
#include "patch_change_dialog.h"
#include "quantize_dialog.h"
#include "region_gain_line.h"
#include "rgb_macros.h"
#include "route_time_axis.h"
#include "selection.h"
#include "selection_templates.h"
Expand Down
10 changes: 0 additions & 10 deletions gtk2_ardour/editor_route_groups.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifdef WAF_BUILD
#include "gtk2ardour-config.h"
#endif

#include <cstdlib>
#include <cmath>

#include "fix_carbon.h"

#include <gtkmm/stock.h>

Expand All @@ -36,7 +29,6 @@
#include "widgets/tooltips.h"

#include "ardour/route_group.h"
#include "ardour/route.h"
#include "ardour/session.h"

#include "ardour_ui.h"
Expand All @@ -46,9 +38,7 @@
#include "editor_routes.h"
#include "gui_thread.h"
#include "keyboard.h"
#include "marker.h"
#include "route_group_dialog.h"
#include "route_time_axis.h"
#include "time_axis_view.h"
#include "utils.h"

Expand Down
3 changes: 0 additions & 3 deletions gtk2_ardour/editor_summary.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,10 @@

#include "ardour/session.h"

#include "canvas/debug.h"

#include <gtkmm/menu.h>
#include <gtkmm/menuitem.h>

#include "context_menu_helper.h"
#include "time_axis_view.h"
#include "streamview.h"
#include "editor_summary.h"
#include "gui_thread.h"
Expand Down
4 changes: 0 additions & 4 deletions gtk2_ardour/midi_region_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,7 @@

#include "midi++/midnam_patch.h"

#include "pbd/memento_command.h"
#include "pbd/stateful_diff_command.h"
#include "pbd/stacktrace.h"
#include "pbd/unwind.h"

#include "ardour/debug.h"
Expand All @@ -57,7 +55,6 @@
#include "evoral/midi_util.h"

#include "canvas/debug.h"
#include "canvas/text.h"

#include "automation_region_view.h"
#include "automation_time_axis.h"
Expand All @@ -77,7 +74,6 @@
#include "midi_time_axis.h"
#include "midi_util.h"
#include "midi_velocity_dialog.h"
#include "mouse_cursors.h"
#include "note_player.h"
#include "paste_context.h"
#include "public_editor.h"
Expand Down
4 changes: 1 addition & 3 deletions gtk2_ardour/midi_time_axis.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,11 @@
#include "route_time_axis.h"
#include "midi_streamview.h"

namespace MIDI {
namespace Name {
namespace MIDI::Name {
class MasterDeviceNames;
class CustomDeviceMode;
struct PatchPrimaryKey;
}
}

namespace ARDOUR {
class Session;
Expand Down
5 changes: 0 additions & 5 deletions gtk2_ardour/route_time_axis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
*/

#include <cstdlib>
#include <cmath>
#include <cassert>

#include <algorithm>
Expand All @@ -43,17 +42,14 @@
#include <gtkmm/stock.h>

#include "pbd/error.h"
#include "pbd/stl_delete.h"
#include "pbd/whitespace.h"
#include "pbd/memento_command.h"
#include "pbd/enumwriter.h"
#include "pbd/stateful_diff_command.h"

#include "evoral/Parameter.h"

#include "ardour/amp.h"
#include "ardour/meter.h"
#include "ardour/event_type_map.h"
#include "ardour/pannable.h"
#include "ardour/panner.h"
#include "ardour/plugin_insert.h"
Expand Down Expand Up @@ -87,7 +83,6 @@
#include "point_selection.h"
#include "public_editor.h"
#include "region_view.h"
#include "rgb_macros.h"
#include "selection.h"
#include "streamview.h"
#include "ui_config.h"
Expand Down
1 change: 0 additions & 1 deletion gtk2_ardour/route_time_axis.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ class RegionSelection;
class Selectable;
class AutomationTimeAxisView;
class AutomationLine;
class ProcessorAutomationLine;
class TimeSelection;
class RouteGroupMenu;
class ItemCounts;
Expand Down
5 changes: 0 additions & 5 deletions gtk2_ardour/route_ui.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

#include <gtkmm/stock.h>

#include "pbd/memento_command.h"
#include "pbd/controllable.h"
#include "pbd/enumwriter.h"

Expand Down Expand Up @@ -61,22 +60,18 @@

#include "gtkmm2ext/gtk_ui.h"
#include "gtkmm2ext/doi.h"
#include "gtkmm2ext/gtk_ui.h"
#include "gtkmm2ext/utils.h"

#include "widgets/ardour_button.h"
#include "widgets/binding_proxy.h"
#include "widgets/prompter.h"

#include "ardour_dialog.h"
#include "ardour_ui.h"
#include "automation_time_axis.h"
#include "editor.h"
#include "group_tabs.h"
#include "gui_object.h"
#include "gui_thread.h"
#include "keyboard.h"
#include "latency_gui.h"
#include "mixer_strip.h"
#include "mixer_ui.h"
#include "patch_change_widget.h"
Expand Down
3 changes: 0 additions & 3 deletions gtk2_ardour/streamview.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,8 @@
#include <gtkmm2ext/gtk_ui.h>
#include <gtkmm2ext/utils.h>

#include "ardour/playlist.h"
#include "ardour/region.h"
#include "ardour/track.h"
#include "ardour/session.h"

#include "pbd/compose.h"

Expand All @@ -48,7 +46,6 @@
#include "selection.h"
#include "public_editor.h"
#include "timers.h"
#include "rgb_macros.h"
#include "gui_thread.h"
#include "ui_config.h"
#include "utils.h"
Expand Down

0 comments on commit 13a233f

Please sign in to comment.