13
0

Remove unused includes

This commit is contained in:
itmuckel 2022-05-25 22:06:29 +02:00 committed by Paul Davis
parent 3af788018d
commit 63f94d2946
12 changed files with 1 additions and 79 deletions

View File

@ -39,14 +39,9 @@
#include <algorithm> #include <algorithm>
#include <cmath> #include <cmath>
#include <iostream> #include <iostream>
#include <cerrno>
#include <stdarg.h> #include <stdarg.h>
#ifndef PLATFORM_WINDOWS
#include <sys/resource.h>
#endif
#ifdef __FreeBSD__ #ifdef __FreeBSD__
#include <sys/types.h> #include <sys/types.h>
#include <sys/sysctl.h> #include <sys/sysctl.h>
@ -54,7 +49,6 @@
#include <stdint.h> #include <stdint.h>
#include <fcntl.h> #include <fcntl.h>
#include <signal.h>
#include <unistd.h> #include <unistd.h>
#include <time.h> #include <time.h>
@ -67,26 +61,18 @@
#include <gtkmm/uimanager.h> #include <gtkmm/uimanager.h>
#include "pbd/error.h" #include "pbd/error.h"
#include "pbd/basename.h"
#include "pbd/compose.h" #include "pbd/compose.h"
#include "pbd/convert.h" #include "pbd/convert.h"
#include "pbd/failed_constructor.h" #include "pbd/failed_constructor.h"
#include "pbd/file_archive.h"
#include "pbd/enumwriter.h"
#include "pbd/memento_command.h" #include "pbd/memento_command.h"
#include "pbd/openuri.h" #include "pbd/openuri.h"
#include "pbd/stl_delete.h"
#include "pbd/types_convert.h" #include "pbd/types_convert.h"
#include "pbd/unwind.h"
#include "pbd/file_utils.h" #include "pbd/file_utils.h"
#include "pbd/localtime_r.h"
#include "pbd/pthread_utils.h" #include "pbd/pthread_utils.h"
#include "pbd/replace_all.h" #include "pbd/replace_all.h"
#include "pbd/scoped_file_descriptor.h" #include "pbd/scoped_file_descriptor.h"
#include "pbd/xml++.h" #include "pbd/xml++.h"
#include "temporal/tempo.h"
#include "gtkmm2ext/application.h" #include "gtkmm2ext/application.h"
#include "gtkmm2ext/bindings.h" #include "gtkmm2ext/bindings.h"
#include "gtkmm2ext/gtk_ui.h" #include "gtkmm2ext/gtk_ui.h"
@ -102,30 +88,22 @@
#include "ardour/audio_track.h" #include "ardour/audio_track.h"
#include "ardour/audioengine.h" #include "ardour/audioengine.h"
#include "ardour/audiofilesource.h" #include "ardour/audiofilesource.h"
#include "ardour/automation_watch.h"
#include "ardour/disk_reader.h" #include "ardour/disk_reader.h"
#include "ardour/disk_writer.h" #include "ardour/disk_writer.h"
#include "ardour/filename_extensions.h"
#include "ardour/filesystem_paths.h" #include "ardour/filesystem_paths.h"
#include "ardour/ltc_file_reader.h"
#include "ardour/monitor_control.h" #include "ardour/monitor_control.h"
#include "ardour/midi_track.h" #include "ardour/midi_track.h"
#include "ardour/port.h" #include "ardour/port.h"
#include "ardour/plugin_manager.h" #include "ardour/plugin_manager.h"
#include "ardour/process_thread.h" #include "ardour/process_thread.h"
#include "ardour/profile.h" #include "ardour/profile.h"
#include "ardour/recent_sessions.h"
#include "ardour/record_enable_control.h"
#include "ardour/revision.h" #include "ardour/revision.h"
#include "ardour/session_directory.h" #include "ardour/session_directory.h"
#include "ardour/session_route.h" #include "ardour/session_route.h"
#include "ardour/session_state_utils.h"
#include "ardour/session_utils.h"
#include "ardour/source_factory.h" #include "ardour/source_factory.h"
#include "ardour/transport_master.h" #include "ardour/transport_master.h"
#include "ardour/transport_master_manager.h" #include "ardour/transport_master_manager.h"
#include "ardour/triggerbox.h" #include "ardour/triggerbox.h"
#include "ardour/system_exec.h"
#include "ardour/track.h" #include "ardour/track.h"
#include "ardour/vca_manager.h" #include "ardour/vca_manager.h"
#include "ardour/utils.h" #include "ardour/utils.h"
@ -147,11 +125,9 @@
#include "temporal/time.h" #include "temporal/time.h"
#include "about.h" #include "about.h"
#include "editing.h"
#include "enums_convert.h" #include "enums_convert.h"
#include "actions.h" #include "actions.h"
#include "add_route_dialog.h" #include "add_route_dialog.h"
#include "ambiguous_file_dialog.h"
#include "ardour_message.h" #include "ardour_message.h"
#include "ardour_ui.h" #include "ardour_ui.h"
#include "audio_clock.h" #include "audio_clock.h"
@ -164,7 +140,6 @@
#include "debug.h" #include "debug.h"
#include "engine_dialog.h" #include "engine_dialog.h"
#include "export_video_dialog.h" #include "export_video_dialog.h"
#include "gain_meter.h"
#include "global_port_matrix.h" #include "global_port_matrix.h"
#include "gui_object.h" #include "gui_object.h"
#include "gui_thread.h" #include "gui_thread.h"
@ -176,15 +151,12 @@
#include "lua_script_manager.h" #include "lua_script_manager.h"
#include "luawindow.h" #include "luawindow.h"
#include "main_clock.h" #include "main_clock.h"
#include "missing_file_dialog.h"
#include "missing_plugin_dialog.h" #include "missing_plugin_dialog.h"
#include "mixer_ui.h" #include "mixer_ui.h"
#include "meterbridge.h" #include "meterbridge.h"
#include "meter_patterns.h"
#include "mouse_cursors.h" #include "mouse_cursors.h"
#include "nsm.h" #include "nsm.h"
#include "opts.h" #include "opts.h"
#include "pingback.h"
#include "plugin_dspload_window.h" #include "plugin_dspload_window.h"
#include "plugin_manager_ui.h" #include "plugin_manager_ui.h"
#include "processor_box.h" #include "processor_box.h"
@ -210,11 +182,8 @@
#include "trigger_page.h" #include "trigger_page.h"
#include "triggerbox_ui.h" #include "triggerbox_ui.h"
#include "utils.h" #include "utils.h"
#include "utils_videotl.h"
#include "video_server_dialog.h"
#include "virtual_keyboard_window.h" #include "virtual_keyboard_window.h"
#include "add_video_dialog.h" #include "add_video_dialog.h"
#include "transcode_video_dialog.h"
#include "plugin_selector.h" #include "plugin_selector.h"
#include "pbd/i18n.h" #include "pbd/i18n.h"

View File

@ -18,13 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "ardour/rc_configuration.h"
#include "canvas/canvas.h" #include "canvas/canvas.h"
#include "editor.h" #include "editor.h"
#include "editing.h"
#include "audio_time_axis.h"
#include "route_time_axis.h" #include "route_time_axis.h"
#include "audio_region_view.h" #include "audio_region_view.h"
#include "selection.h" #include "selection.h"

View File

@ -19,8 +19,6 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#include "gtkmm2ext/utils.h"
#include "ardour/route_group.h" #include "ardour/route_group.h"
#include "gtkmm2ext/colors.h" #include "gtkmm2ext/colors.h"
@ -29,10 +27,8 @@
#include "editor_group_tabs.h" #include "editor_group_tabs.h"
#include "editor_route_groups.h" #include "editor_route_groups.h"
#include "editor_routes.h" #include "editor_routes.h"
#include "rgb_macros.h"
#include "route_time_axis.h" #include "route_time_axis.h"
#include "ui_config.h" #include "ui_config.h"
#include "utils.h"
#include "pbd/i18n.h" #include "pbd/i18n.h"

View File

@ -35,7 +35,6 @@
#include <cstdlib> #include <cstdlib>
#include <cmath> #include <cmath>
#include <string> #include <string>
#include <limits>
#include <map> #include <map>
#include <set> #include <set>
@ -84,15 +83,12 @@
#include "ardour/triggerbox.h" #include "ardour/triggerbox.h"
#include "ardour/vca_manager.h" #include "ardour/vca_manager.h"
#include "canvas/canvas.h"
#include "actions.h" #include "actions.h"
#include "ardour_message.h" #include "ardour_message.h"
#include "ardour_ui.h" #include "ardour_ui.h"
#include "audio_region_view.h" #include "audio_region_view.h"
#include "audio_streamview.h" #include "audio_streamview.h"
#include "audio_time_axis.h" #include "audio_time_axis.h"
#include "automation_region_view.h"
#include "automation_time_axis.h" #include "automation_time_axis.h"
#include "control_point.h" #include "control_point.h"
#include "debug.h" #include "debug.h"
@ -111,14 +107,12 @@
#include "midi_region_view.h" #include "midi_region_view.h"
#include "mixer_ui.h" #include "mixer_ui.h"
#include "mixer_strip.h" #include "mixer_strip.h"
#include "mouse_cursors.h"
#include "normalize_dialog.h" #include "normalize_dialog.h"
#include "note.h" #include "note.h"
#include "paste_context.h" #include "paste_context.h"
#include "patch_change_dialog.h" #include "patch_change_dialog.h"
#include "quantize_dialog.h" #include "quantize_dialog.h"
#include "region_gain_line.h" #include "region_gain_line.h"
#include "rgb_macros.h"
#include "route_time_axis.h" #include "route_time_axis.h"
#include "selection.h" #include "selection.h"
#include "selection_templates.h" #include "selection_templates.h"

View File

@ -19,14 +19,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/ */
#ifdef WAF_BUILD
#include "gtk2ardour-config.h"
#endif
#include <cstdlib> #include <cstdlib>
#include <cmath>
#include "fix_carbon.h"
#include <gtkmm/stock.h> #include <gtkmm/stock.h>
@ -37,7 +30,6 @@
#include "widgets/tooltips.h" #include "widgets/tooltips.h"
#include "ardour/route_group.h" #include "ardour/route_group.h"
#include "ardour/route.h"
#include "ardour/session.h" #include "ardour/session.h"
#include "ardour_ui.h" #include "ardour_ui.h"
@ -47,9 +39,7 @@
#include "editor_routes.h" #include "editor_routes.h"
#include "gui_thread.h" #include "gui_thread.h"
#include "keyboard.h" #include "keyboard.h"
#include "marker.h"
#include "route_group_dialog.h" #include "route_group_dialog.h"
#include "route_time_axis.h"
#include "time_axis_view.h" #include "time_axis_view.h"
#include "pbd/i18n.h" #include "pbd/i18n.h"

View File

@ -25,13 +25,10 @@
#include "ardour/session.h" #include "ardour/session.h"
#include "canvas/debug.h"
#include <gtkmm/menu.h> #include <gtkmm/menu.h>
#include <gtkmm/menuitem.h> #include <gtkmm/menuitem.h>
#include "context_menu_helper.h" #include "context_menu_helper.h"
#include "time_axis_view.h"
#include "streamview.h" #include "streamview.h"
#include "editor_summary.h" #include "editor_summary.h"
#include "gui_thread.h" #include "gui_thread.h"

View File

@ -37,9 +37,7 @@
#include "midi++/midnam_patch.h" #include "midi++/midnam_patch.h"
#include "pbd/memento_command.h"
#include "pbd/stateful_diff_command.h" #include "pbd/stateful_diff_command.h"
#include "pbd/stacktrace.h"
#include "pbd/unwind.h" #include "pbd/unwind.h"
#include "ardour/debug.h" #include "ardour/debug.h"
@ -57,7 +55,6 @@
#include "evoral/midi_util.h" #include "evoral/midi_util.h"
#include "canvas/debug.h" #include "canvas/debug.h"
#include "canvas/text.h"
#include "automation_region_view.h" #include "automation_region_view.h"
#include "automation_time_axis.h" #include "automation_time_axis.h"
@ -77,7 +74,6 @@
#include "midi_time_axis.h" #include "midi_time_axis.h"
#include "midi_util.h" #include "midi_util.h"
#include "midi_velocity_dialog.h" #include "midi_velocity_dialog.h"
#include "mouse_cursors.h"
#include "note_player.h" #include "note_player.h"
#include "paste_context.h" #include "paste_context.h"
#include "public_editor.h" #include "public_editor.h"

View File

@ -45,13 +45,11 @@
#include "route_time_axis.h" #include "route_time_axis.h"
#include "midi_streamview.h" #include "midi_streamview.h"
namespace MIDI { namespace MIDI::Name {
namespace Name {
class MasterDeviceNames; class MasterDeviceNames;
class CustomDeviceMode; class CustomDeviceMode;
struct PatchPrimaryKey; struct PatchPrimaryKey;
} }
}
namespace ARDOUR { namespace ARDOUR {
class Session; class Session;

View File

@ -27,7 +27,6 @@
*/ */
#include <cstdlib> #include <cstdlib>
#include <cmath>
#include <cassert> #include <cassert>
#include <algorithm> #include <algorithm>
@ -43,9 +42,7 @@
#include <gtkmm/stock.h> #include <gtkmm/stock.h>
#include "pbd/error.h" #include "pbd/error.h"
#include "pbd/stl_delete.h"
#include "pbd/whitespace.h" #include "pbd/whitespace.h"
#include "pbd/memento_command.h"
#include "pbd/enumwriter.h" #include "pbd/enumwriter.h"
#include "pbd/stateful_diff_command.h" #include "pbd/stateful_diff_command.h"
@ -53,7 +50,6 @@
#include "ardour/amp.h" #include "ardour/amp.h"
#include "ardour/meter.h" #include "ardour/meter.h"
#include "ardour/event_type_map.h"
#include "ardour/pannable.h" #include "ardour/pannable.h"
#include "ardour/panner.h" #include "ardour/panner.h"
#include "ardour/plugin_insert.h" #include "ardour/plugin_insert.h"
@ -87,7 +83,6 @@
#include "point_selection.h" #include "point_selection.h"
#include "public_editor.h" #include "public_editor.h"
#include "region_view.h" #include "region_view.h"
#include "rgb_macros.h"
#include "selection.h" #include "selection.h"
#include "streamview.h" #include "streamview.h"
#include "ui_config.h" #include "ui_config.h"

View File

@ -70,7 +70,6 @@ class RegionSelection;
class Selectable; class Selectable;
class AutomationTimeAxisView; class AutomationTimeAxisView;
class AutomationLine; class AutomationLine;
class ProcessorAutomationLine;
class TimeSelection; class TimeSelection;
class RouteGroupMenu; class RouteGroupMenu;
class ItemCounts; class ItemCounts;

View File

@ -32,7 +32,6 @@
#include <gtkmm/stock.h> #include <gtkmm/stock.h>
#include "pbd/memento_command.h"
#include "pbd/controllable.h" #include "pbd/controllable.h"
#include "pbd/enumwriter.h" #include "pbd/enumwriter.h"
@ -62,22 +61,18 @@
#include "gtkmm2ext/colors.h" #include "gtkmm2ext/colors.h"
#include "gtkmm2ext/gtk_ui.h" #include "gtkmm2ext/gtk_ui.h"
#include "gtkmm2ext/doi.h" #include "gtkmm2ext/doi.h"
#include "gtkmm2ext/gtk_ui.h"
#include "gtkmm2ext/utils.h" #include "gtkmm2ext/utils.h"
#include "widgets/ardour_button.h" #include "widgets/ardour_button.h"
#include "widgets/binding_proxy.h" #include "widgets/binding_proxy.h"
#include "widgets/prompter.h" #include "widgets/prompter.h"
#include "ardour_dialog.h"
#include "ardour_ui.h" #include "ardour_ui.h"
#include "automation_time_axis.h"
#include "editor.h" #include "editor.h"
#include "group_tabs.h" #include "group_tabs.h"
#include "gui_object.h" #include "gui_object.h"
#include "gui_thread.h" #include "gui_thread.h"
#include "keyboard.h" #include "keyboard.h"
#include "latency_gui.h"
#include "mixer_strip.h" #include "mixer_strip.h"
#include "mixer_ui.h" #include "mixer_ui.h"
#include "patch_change_widget.h" #include "patch_change_widget.h"

View File

@ -32,10 +32,8 @@
#include <gtkmm2ext/gtk_ui.h> #include <gtkmm2ext/gtk_ui.h>
#include <gtkmm2ext/utils.h> #include <gtkmm2ext/utils.h>
#include "ardour/playlist.h"
#include "ardour/region.h" #include "ardour/region.h"
#include "ardour/track.h" #include "ardour/track.h"
#include "ardour/session.h"
#include "pbd/compose.h" #include "pbd/compose.h"
@ -49,7 +47,6 @@
#include "selection.h" #include "selection.h"
#include "public_editor.h" #include "public_editor.h"
#include "timers.h" #include "timers.h"
#include "rgb_macros.h"
#include "gui_thread.h" #include "gui_thread.h"
#include "ui_config.h" #include "ui_config.h"