From af5ec4bdda21e9a2f76f22050216a0b1cbbed575 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 9 Feb 2020 14:34:20 +0100 Subject: 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. --- src/Driver.hpp | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'src/Driver.hpp') 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 signal_attached; sigc::signal signal_detached; -- cgit v1.2.1