NO-OP: clang-format
This addresses various indentation problems caused by `boost::` -> `std::` and other whitespace issues.
This commit is contained in:
parent
193b35e885
commit
8f1d188bf3
@ -27,44 +27,48 @@
|
|||||||
#include "gtk2ardour-config.h"
|
#include "gtk2ardour-config.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include <climits>
|
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
|
#include <climits>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <string>
|
#include <string>
|
||||||
|
|
||||||
|
#include "pbd/failed_constructor.h"
|
||||||
#include "pbd/stl_delete.h"
|
#include "pbd/stl_delete.h"
|
||||||
#include "pbd/xml++.h"
|
#include "pbd/xml++.h"
|
||||||
#include "pbd/failed_constructor.h"
|
|
||||||
|
|
||||||
#include "gtkmm/widget.h"
|
|
||||||
#include "gtkmm/box.h"
|
#include "gtkmm/box.h"
|
||||||
|
#include "gtkmm/widget.h"
|
||||||
|
|
||||||
#include "gtkmm2ext/utils.h"
|
|
||||||
#include "gtkmm2ext/doi.h"
|
|
||||||
#include "gtkmm2ext/application.h"
|
#include "gtkmm2ext/application.h"
|
||||||
|
#include "gtkmm2ext/doi.h"
|
||||||
|
#include "gtkmm2ext/utils.h"
|
||||||
|
|
||||||
#include "widgets/tooltips.h"
|
|
||||||
#include "widgets/fastmeter.h"
|
#include "widgets/fastmeter.h"
|
||||||
|
#include "widgets/tooltips.h"
|
||||||
|
|
||||||
#include "ardour/auditioner.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/ladspa_plugin.h"
|
||||||
#include "ardour/lv2_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"
|
#include "lv2_plugin_ui.h"
|
||||||
|
|
||||||
#ifdef WINDOWS_VST_SUPPORT
|
#ifdef WINDOWS_VST_SUPPORT
|
||||||
#include "ardour/windows_vst_plugin.h"
|
#include "ardour/windows_vst_plugin.h"
|
||||||
#include "windows_vst_plugin_ui.h"
|
#include "windows_vst_plugin_ui.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef LXVST_SUPPORT
|
#ifdef LXVST_SUPPORT
|
||||||
#include "ardour/lxvst_plugin.h"
|
#include "ardour/lxvst_plugin.h"
|
||||||
#include "lxvst_plugin_ui.h"
|
#include "lxvst_plugin_ui.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef MACVST_SUPPORT
|
#ifdef MACVST_SUPPORT
|
||||||
#include "ardour/mac_vst_plugin.h"
|
#include "ardour/mac_vst_plugin.h"
|
||||||
#include "vst_plugin_ui.h"
|
#include "vst_plugin_ui.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef VST3_SUPPORT
|
#ifdef VST3_SUPPORT
|
||||||
#include "ardour/vst3_plugin.h"
|
#include "ardour/vst3_plugin.h"
|
||||||
# ifdef PLATFORM_WINDOWS
|
# ifdef PLATFORM_WINDOWS
|
||||||
@ -77,21 +81,21 @@ extern VST3PluginUI* create_mac_vst3_gui (std::shared_ptr<ARDOUR::PlugInsertBase
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "ardour_window.h"
|
|
||||||
#include "ardour_ui.h"
|
#include "ardour_ui.h"
|
||||||
#include "plugin_ui.h"
|
#include "ardour_window.h"
|
||||||
#include "utils.h"
|
|
||||||
#include "gui_thread.h"
|
#include "gui_thread.h"
|
||||||
#include "public_editor.h"
|
|
||||||
#include "processor_box.h"
|
|
||||||
#include "keyboard.h"
|
#include "keyboard.h"
|
||||||
#include "latency_gui.h"
|
#include "latency_gui.h"
|
||||||
|
#include "new_plugin_preset_dialog.h"
|
||||||
#include "plugin_dspload_ui.h"
|
#include "plugin_dspload_ui.h"
|
||||||
#include "plugin_eq_gui.h"
|
#include "plugin_eq_gui.h"
|
||||||
#include "plugin_presets_ui.h"
|
#include "plugin_presets_ui.h"
|
||||||
|
#include "plugin_ui.h"
|
||||||
|
#include "processor_box.h"
|
||||||
|
#include "public_editor.h"
|
||||||
#include "timers.h"
|
#include "timers.h"
|
||||||
#include "new_plugin_preset_dialog.h"
|
|
||||||
#include "ui_config.h"
|
#include "ui_config.h"
|
||||||
|
#include "utils.h"
|
||||||
|
|
||||||
#include "pbd/i18n.h"
|
#include "pbd/i18n.h"
|
||||||
|
|
||||||
@ -105,8 +109,7 @@ using namespace Gtk;
|
|||||||
|
|
||||||
PluginUIWindow* PluginUIWindow::the_plugin_window = 0;
|
PluginUIWindow* PluginUIWindow::the_plugin_window = 0;
|
||||||
|
|
||||||
PluginUIWindow::PluginUIWindow (
|
PluginUIWindow::PluginUIWindow (std::shared_ptr<PlugInsertBase> pib,
|
||||||
std::shared_ptr<PlugInsertBase> pib,
|
|
||||||
bool scrollable,
|
bool scrollable,
|
||||||
bool editor)
|
bool editor)
|
||||||
: ArdourWindow (string ())
|
: 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)
|
error << string_compose (_("unknown type of editor-supplying plugin (note: no VST support in this version of %1)"), PROGRAM_NAME)
|
||||||
<< endmsg;
|
<< endmsg;
|
||||||
#else
|
#else
|
||||||
error << _("unknown type of editor-supplying plugin")
|
error << _("unknown type of editor-supplying plugin") << endmsg;
|
||||||
<< endmsg;
|
|
||||||
#endif
|
#endif
|
||||||
throw failed_constructor ();
|
throw failed_constructor ();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!have_gui) {
|
if (!have_gui) {
|
||||||
@ -186,7 +187,9 @@ PluginUIWindow::PluginUIWindow (
|
|||||||
gint w = _pluginui->get_preferred_width ();
|
gint w = _pluginui->get_preferred_width ();
|
||||||
|
|
||||||
if (scrollable) {
|
if (scrollable) {
|
||||||
if (h > 600) h = 600;
|
if (h > 600) {
|
||||||
|
h = 600;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
set_border_width (0);
|
set_border_width (0);
|
||||||
@ -381,7 +384,6 @@ PluginUIWindow::create_vst3_editor (std::shared_ptr<PlugInsertBase>)
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
bool
|
bool
|
||||||
#ifdef AUDIOUNIT_SUPPORT
|
#ifdef AUDIOUNIT_SUPPORT
|
||||||
PluginUIWindow::create_audiounit_editor (std::shared_ptr<PlugInsertBase> pib)
|
PluginUIWindow::create_audiounit_editor (std::shared_ptr<PlugInsertBase> pib)
|
||||||
@ -1057,4 +1059,3 @@ PlugUIBase::preset_added_or_removed ()
|
|||||||
update_preset_list ();
|
update_preset_list ();
|
||||||
update_preset ();
|
update_preset ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user