13
0

NO-OP: clang-format

This addresses various indentation problems caused by
`boost::` -> `std::` and other whitespace issues.
This commit is contained in:
Robin Gareus 2023-05-31 16:39:55 +02:00
parent 193b35e885
commit 8f1d188bf3
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -27,44 +27,48 @@
#include "gtk2ardour-config.h"
#endif
#include <climits>
#include <cerrno>
#include <climits>
#include <cmath>
#include <string>
#include "pbd/failed_constructor.h"
#include "pbd/stl_delete.h"
#include "pbd/xml++.h"
#include "pbd/failed_constructor.h"
#include "gtkmm/widget.h"
#include "gtkmm/box.h"
#include "gtkmm/widget.h"
#include "gtkmm2ext/utils.h"
#include "gtkmm2ext/doi.h"
#include "gtkmm2ext/application.h"
#include "gtkmm2ext/doi.h"
#include "gtkmm2ext/utils.h"
#include "widgets/tooltips.h"
#include "widgets/fastmeter.h"
#include "widgets/tooltips.h"
#include "ardour/auditioner.h"
#include "ardour/session.h"
#include "ardour/plugin.h"
#include "ardour/plugin_insert.h"
#include "ardour/ladspa_plugin.h"
#include "ardour/lv2_plugin.h"
#include "ardour/plugin.h"
#include "ardour/plugin_insert.h"
#include "ardour/session.h"
#include "lv2_plugin_ui.h"
#ifdef WINDOWS_VST_SUPPORT
#include "ardour/windows_vst_plugin.h"
#include "windows_vst_plugin_ui.h"
#endif
#ifdef LXVST_SUPPORT
#include "ardour/lxvst_plugin.h"
#include "lxvst_plugin_ui.h"
#endif
#ifdef MACVST_SUPPORT
#include "ardour/mac_vst_plugin.h"
#include "vst_plugin_ui.h"
#endif
#ifdef VST3_SUPPORT
#include "ardour/vst3_plugin.h"
# ifdef PLATFORM_WINDOWS
@ -77,21 +81,21 @@ extern VST3PluginUI* create_mac_vst3_gui (std::shared_ptr<ARDOUR::PlugInsertBase
# endif
#endif
#include "ardour_window.h"
#include "ardour_ui.h"
#include "plugin_ui.h"
#include "utils.h"
#include "ardour_window.h"
#include "gui_thread.h"
#include "public_editor.h"
#include "processor_box.h"
#include "keyboard.h"
#include "latency_gui.h"
#include "new_plugin_preset_dialog.h"
#include "plugin_dspload_ui.h"
#include "plugin_eq_gui.h"
#include "plugin_presets_ui.h"
#include "plugin_ui.h"
#include "processor_box.h"
#include "public_editor.h"
#include "timers.h"
#include "new_plugin_preset_dialog.h"
#include "ui_config.h"
#include "utils.h"
#include "pbd/i18n.h"
@ -105,8 +109,7 @@ using namespace Gtk;
PluginUIWindow* PluginUIWindow::the_plugin_window = 0;
PluginUIWindow::PluginUIWindow (
std::shared_ptr<PlugInsertBase> pib,
PluginUIWindow::PluginUIWindow (std::shared_ptr<PlugInsertBase> pib,
bool scrollable,
bool editor)
: ArdourWindow (string ())
@ -157,12 +160,10 @@ PluginUIWindow::PluginUIWindow (
error << string_compose (_("unknown type of editor-supplying plugin (note: no VST support in this version of %1)"), PROGRAM_NAME)
<< endmsg;
#else
error << _("unknown type of editor-supplying plugin")
<< endmsg;
error << _("unknown type of editor-supplying plugin") << endmsg;
#endif
throw failed_constructor ();
}
}
if (!have_gui) {
@ -186,7 +187,9 @@ PluginUIWindow::PluginUIWindow (
gint w = _pluginui->get_preferred_width ();
if (scrollable) {
if (h > 600) h = 600;
if (h > 600) {
h = 600;
}
}
set_border_width (0);
@ -381,7 +384,6 @@ PluginUIWindow::create_vst3_editor (std::shared_ptr<PlugInsertBase>)
#endif
}
bool
#ifdef AUDIOUNIT_SUPPORT
PluginUIWindow::create_audiounit_editor (std::shared_ptr<PlugInsertBase> pib)
@ -1057,4 +1059,3 @@ PlugUIBase::preset_added_or_removed ()
update_preset_list ();
update_preset ();
}