summaryrefslogtreecommitdiff
path: root/gtk2_ardour/export_channel_selector.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-07-01 21:11:14 +0200
committerRobin Gareus <robin@gareus.org>2017-07-01 21:19:56 +0200
commitb976bf8986290e8f4812a50e7fdd98b9cbeb4249 (patch)
tree75cffb9761a024943c18e502a3d84e3607954a55 /gtk2_ardour/export_channel_selector.h
parent221902138938a47f32b925f7e37602230e9de538 (diff)
NO-OP whitespace & foratting of header files
Diffstat (limited to 'gtk2_ardour/export_channel_selector.h')
-rw-r--r--gtk2_ardour/export_channel_selector.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/gtk2_ardour/export_channel_selector.h b/gtk2_ardour/export_channel_selector.h
index d5607ef30b..d45b47ce72 100644
--- a/gtk2_ardour/export_channel_selector.h
+++ b/gtk2_ardour/export_channel_selector.h
@@ -48,14 +48,14 @@ class XMLNode;
class ExportChannelSelector : public Gtk::HBox, public ARDOUR::SessionHandlePtr
{
- protected:
+protected:
typedef boost::shared_ptr<ARDOUR::ExportChannelConfiguration> ChannelConfigPtr;
typedef std::list<ChannelConfigPtr> ChannelConfigList;
typedef boost::shared_ptr<ARDOUR::ExportProfileManager> ProfileManagerPtr;
ProfileManagerPtr manager;
- public:
+public:
ExportChannelSelector (ARDOUR::Session * session, ProfileManagerPtr manager)
: SessionHandlePtr (session)
, manager (manager)
@@ -70,15 +70,14 @@ class ExportChannelSelector : public Gtk::HBox, public ARDOUR::SessionHandlePtr
class PortExportChannelSelector : public ExportChannelSelector
{
-
- public:
+public:
PortExportChannelSelector (ARDOUR::Session * session, ProfileManagerPtr manager);
~PortExportChannelSelector ();
void sync_with_manager ();
- private:
+private:
void fill_route_list ();
void update_channel_count ();
@@ -101,12 +100,12 @@ class PortExportChannelSelector : public ExportChannelSelector
class RouteCols : public Gtk::TreeModelColumnRecord
{
- public:
+ public:
struct Channel;
RouteCols () : n_channels (0)
- { add (selected); add (name); add (io); add (port_list_col); }
+ { add (selected); add (name); add (io); add (port_list_col); }
void add_channels (uint32_t chans);
uint32_t n_channels;
@@ -129,7 +128,7 @@ class PortExportChannelSelector : public ExportChannelSelector
/* Channel struct, that represents the selected port and its name */
struct Channel {
- public:
+ public:
Channel (RouteCols & cols) { cols.add (port); cols.add (label); }
Gtk::TreeModelColumn<boost::weak_ptr<ARDOUR::AudioPort> > port;
@@ -146,7 +145,7 @@ class PortExportChannelSelector : public ExportChannelSelector
class PortCols : public Gtk::TreeModel::ColumnRecord
{
- public:
+ public:
PortCols () { add(selected); add(port); add(label); }
Gtk::TreeModelColumn<bool> selected; // not used ATM
@@ -158,8 +157,9 @@ class PortExportChannelSelector : public ExportChannelSelector
/* Channels view */
- class ChannelTreeView : public Gtk::TreeView {
- public:
+ class ChannelTreeView : public Gtk::TreeView
+ {
+ public:
ChannelTreeView (uint32_t max_channels);
void set_config (ChannelConfigPtr c);
@@ -172,7 +172,7 @@ class PortExportChannelSelector : public ExportChannelSelector
sigc::signal<void> CriticalSelectionChanged;
- private:
+ private:
ChannelConfigPtr config;
void update_config ();
@@ -199,7 +199,7 @@ class PortExportChannelSelector : public ExportChannelSelector
class RegionExportChannelSelector : public ExportChannelSelector
{
- public:
+public:
RegionExportChannelSelector (ARDOUR::Session * session,
ProfileManagerPtr manager,
ARDOUR::AudioRegion const & region,
@@ -207,7 +207,7 @@ class RegionExportChannelSelector : public ExportChannelSelector
virtual void sync_with_manager ();
- private:
+private:
void handle_selection ();