summaryrefslogtreecommitdiffstats
path: root/src/Driver.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-13 16:04:14 +0000
committerDavid Robillard <d@drobilla.net>2009-05-13 16:04:14 +0000
commitb84b50d2bbbfcd196d62344eaeef7fb08e3d686c (patch)
tree5b65cb8ec437087f1352ac23730355d6cc6369cb /src/Driver.hpp
parentddc09de45b45bdf2afdeff68eb8a17ad237ef6c3 (diff)
downloadpatchage-b84b50d2bbbfcd196d62344eaeef7fb08e3d686c.tar.gz
patchage-b84b50d2bbbfcd196d62344eaeef7fb08e3d686c.tar.bz2
patchage-b84b50d2bbbfcd196d62344eaeef7fb08e3d686c.zip
Strip trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/patchage@1999 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/Driver.hpp')
-rw-r--r--src/Driver.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Driver.hpp b/src/Driver.hpp
index 4c9d313..822b89d 100644
--- a/src/Driver.hpp
+++ b/src/Driver.hpp
@@ -1,15 +1,15 @@
/* This file is part of Patchage.
* Copyright (C) 2007 Dave Robillard <http://drobilla.net>
- *
+ *
* Patchage is free software; you can redistribute it and/or modify it under the
* terms of the GNU General Public License as published by the Free Software
* Foundation; either version 2 of the License, or (at your option) any later
* version.
- *
+ *
* Patchage is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
@@ -30,7 +30,7 @@ class PatchageCanvas;
class Driver {
public:
virtual ~Driver() {}
-
+
virtual void process_events(Patchage* app) {
while (!events().empty()) {
PatchageEvent& ev = events().front();
@@ -45,17 +45,17 @@ public:
virtual void refresh() = 0;
virtual void destroy_all() {}
-
+
virtual boost::shared_ptr<PatchagePort> create_port_view(
Patchage* patchage,
const PortID& id) = 0;
-
+
virtual bool connect(boost::shared_ptr<PatchagePort> src_port,
boost::shared_ptr<PatchagePort> dst_port) = 0;
-
+
virtual bool disconnect(boost::shared_ptr<PatchagePort> src_port,
boost::shared_ptr<PatchagePort> dst_port) = 0;
-
+
Raul::SRSWQueue<PatchageEvent>& events() { return _events; }
sigc::signal<void> signal_attached;
@@ -63,7 +63,7 @@ public:
protected:
Driver(size_t event_queue_size) : _events(event_queue_size) {}
-
+
Raul::SRSWQueue<PatchageEvent> _events;
};