13
0

fix indentation and style guide issues in new EngineStateController code

This commit is contained in:
Paul Davis 2015-05-25 20:22:55 -04:00
parent bdbad46dee
commit e20242c242
2 changed files with 1672 additions and 1672 deletions

View File

@ -15,7 +15,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
*/
#ifndef __gtk2_ardour__engine_state_controller__
#define __gtk2_ardour__engine_state_controller__
@ -39,7 +39,7 @@ class AudioBackendInfo;
*/
class EngineStateController
{
public:
public:
// public data types:
@ -52,14 +52,14 @@ public:
bool active; ///< Audio Port state
PortState ()
: name(""),
active(false)
: name("")
, active(false)
{
}
PortState (const std::string& name)
: name(name),
active(false)
: name(name)
, active(false)
{
}
@ -82,12 +82,12 @@ public:
bool scene_connected; ///< Is midi port used for scene MIDI marker in/out
bool mtc_in; ///< Is midi port used as MTC in
MidiPortState(const std::string& name):
name(name),
active(false),
available(false),
scene_connected(false),
mtc_in(false)
MidiPortState(const std::string& name)
: name(name)
, active(false)
, available(false)
, scene_connected(false)
, mtc_in(false)
{}
bool operator==(const MidiPortState& rhs)
@ -453,7 +453,7 @@ public:
/** This signal is emitted if new Audio/MIDI ports are registered or unregistered */
PBD::Signal0<void> PortRegistrationChanged;
private:
private:
EngineStateController(); /// singleton
~EngineStateController(); /// singleton

File diff suppressed because it is too large Load Diff