diff options
author | David Robillard <d@drobilla.net> | 2022-08-18 01:42:06 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-18 01:42:06 -0400 |
commit | b42cb99941882ec96efc469a3f9212e3b1676f26 (patch) | |
tree | 0321e3578ffa29009b02c511e57d15ba85772f80 /src/gui | |
parent | 56cfb8680a67c283175e7a06b437cf480f9f5c82 (diff) | |
download | ingen-b42cb99941882ec96efc469a3f9212e3b1676f26.tar.gz ingen-b42cb99941882ec96efc469a3f9212e3b1676f26.tar.bz2 ingen-b42cb99941882ec96efc469a3f9212e3b1676f26.zip |
Use consistent brace wrapping for class definitions
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/LoadPluginWindow.hpp | 6 | ||||
-rw-r--r-- | src/gui/URIEntry.hpp | 3 | ||||
-rw-r--r-- | src/gui/WidgetFactory.hpp | 3 | ||||
-rw-r--r-- | src/gui/WindowFactory.hpp | 3 |
4 files changed, 10 insertions, 5 deletions
diff --git a/src/gui/LoadPluginWindow.hpp b/src/gui/LoadPluginWindow.hpp index 46c5e816..7a9313e2 100644 --- a/src/gui/LoadPluginWindow.hpp +++ b/src/gui/LoadPluginWindow.hpp @@ -88,7 +88,8 @@ protected: private: /** Columns for the plugin list */ - class ModelColumns : public Gtk::TreeModel::ColumnRecord { + class ModelColumns : public Gtk::TreeModel::ColumnRecord + { public: ModelColumns() { add(_col_name); @@ -110,7 +111,8 @@ private: }; /** Column for the filter criteria combo box. */ - class CriteriaColumns : public Gtk::TreeModel::ColumnRecord { + class CriteriaColumns : public Gtk::TreeModel::ColumnRecord + { public: enum class Criteria { NAME, TYPE, PROJECT, AUTHOR, URI, }; diff --git a/src/gui/URIEntry.hpp b/src/gui/URIEntry.hpp index cc8f96a3..04dfaa41 100644 --- a/src/gui/URIEntry.hpp +++ b/src/gui/URIEntry.hpp @@ -39,7 +39,8 @@ namespace gui { class App; -class URIEntry : public Gtk::HBox { +class URIEntry : public Gtk::HBox +{ public: /** Create a widget for entering URIs. * diff --git a/src/gui/WidgetFactory.hpp b/src/gui/WidgetFactory.hpp index 11ef71d1..d2f449ee 100644 --- a/src/gui/WidgetFactory.hpp +++ b/src/gui/WidgetFactory.hpp @@ -31,7 +31,8 @@ namespace gui { * * \ingroup GUI */ -class WidgetFactory { +class WidgetFactory +{ public: static Glib::RefPtr<Gtk::Builder> create(const std::string& toplevel_widget=""); diff --git a/src/gui/WindowFactory.hpp b/src/gui/WindowFactory.hpp index d4fe8d22..4ef79239 100644 --- a/src/gui/WindowFactory.hpp +++ b/src/gui/WindowFactory.hpp @@ -53,7 +53,8 @@ class RenameWindow; * as well as an enumeration of all windows (the goal being to reduce that * number as much as possible). */ -class WindowFactory { +class WindowFactory +{ public: explicit WindowFactory(App& app); ~WindowFactory(); |