diff options
author | David Robillard <d@drobilla.net> | 2009-05-13 16:04:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-13 16:04:14 +0000 |
commit | b84b50d2bbbfcd196d62344eaeef7fb08e3d686c (patch) | |
tree | 5b65cb8ec437087f1352ac23730355d6cc6369cb /src/PatchageEvent.hpp | |
parent | ddc09de45b45bdf2afdeff68eb8a17ad237ef6c3 (diff) | |
download | patchage-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/PatchageEvent.hpp')
-rw-r--r-- | src/PatchageEvent.hpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/PatchageEvent.hpp b/src/PatchageEvent.hpp index c567a9c..337909d 100644 --- a/src/PatchageEvent.hpp +++ b/src/PatchageEvent.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 @@ -50,7 +50,7 @@ public: : _str(NULL) , _type(type) {} - + PatchageEvent(Type type, const char* str) : _str(strdup(str)) // FIXME: not realtime (jack) :( , _type(type) @@ -62,7 +62,7 @@ public: , _port_1(port) , _type(type) {} - + template <typename P> PatchageEvent(Type type, P port_1, P port_2) : _str(NULL) @@ -70,11 +70,11 @@ public: , _port_2(port_2, true) , _type(type) {} - + void execute(Patchage* patchage); inline Type type() const { return (Type)_type; } - + private: char* _str; PortID _port_1; |