diff options
author | David Robillard <d@drobilla.net> | 2020-02-09 14:34:20 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-02-09 14:34:20 +0100 |
commit | af5ec4bdda21e9a2f76f22050216a0b1cbbed575 (patch) | |
tree | f93ddc033b70297abb472f7e28a06f9e936cf0ee /src/Driver.hpp | |
parent | c321c02a6b9c67b4b106e36a77167ee279b9ef78 (diff) | |
download | patchage-af5ec4bdda21e9a2f76f22050216a0b1cbbed575.tar.gz patchage-af5ec4bdda21e9a2f76f22050216a0b1cbbed575.tar.bz2 patchage-af5ec4bdda21e9a2f76f22050216a0b1cbbed575.zip |
Format all code with clang-format
This configuration tries to get as close to the previous style as possible so
the changes aren't too dramatic. It's still far from ideal and the code could
use some adaptation, but this makes things much easier to work on.
Diffstat (limited to 'src/Driver.hpp')
-rw-r--r-- | src/Driver.hpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/Driver.hpp b/src/Driver.hpp index bab570b..4186cf2 100644 --- a/src/Driver.hpp +++ b/src/Driver.hpp @@ -25,7 +25,8 @@ class PatchagePort; class PatchageCanvas; /** Trival driver base class */ -class Driver { +class Driver +{ public: virtual ~Driver() {} @@ -38,14 +39,12 @@ public: virtual void refresh() = 0; virtual void destroy_all() {} - virtual PatchagePort* create_port_view(Patchage* patchage, - const PortID& id) = 0; + virtual PatchagePort* + create_port_view(Patchage* patchage, const PortID& id) = 0; - virtual bool connect(PatchagePort* src_port, - PatchagePort* dst_port) = 0; + virtual bool connect(PatchagePort* src_port, PatchagePort* dst_port) = 0; - virtual bool disconnect(PatchagePort* src_port, - PatchagePort* dst_port) = 0; + virtual bool disconnect(PatchagePort* src_port, PatchagePort* dst_port) = 0; sigc::signal<void> signal_attached; sigc::signal<void> signal_detached; |