From aa473d19780f2670bb828835ee7ce970571016cf Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 13 May 2009 16:04:14 +0000 Subject: Strip trailing whitespace. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1999 a436a847-0d15-0410-975c-d299462d15a1 --- src/common/interface/ClientInterface.hpp | 16 ++++++++-------- src/common/interface/CommonInterface.hpp | 32 ++++++++++++++++---------------- src/common/interface/Connection.hpp | 6 +++--- src/common/interface/DataType.hpp | 12 ++++++------ src/common/interface/EngineInterface.hpp | 30 +++++++++++++++--------------- src/common/interface/EventType.hpp | 12 ++++++------ src/common/interface/GraphObject.hpp | 10 +++++----- src/common/interface/Node.hpp | 10 +++++----- src/common/interface/Patch.hpp | 8 ++++---- src/common/interface/Plugin.hpp | 10 +++++----- src/common/interface/Port.hpp | 8 ++++---- src/common/interface/Resource.hpp | 6 +++--- 12 files changed, 80 insertions(+), 80 deletions(-) (limited to 'src/common/interface') diff --git a/src/common/interface/ClientInterface.hpp b/src/common/interface/ClientInterface.hpp index a154e2ca..eef7150e 100644 --- a/src/common/interface/ClientInterface.hpp +++ b/src/common/interface/ClientInterface.hpp @@ -1,15 +1,15 @@ /* This file is part of Ingen. * Copyright (C) 2007 Dave Robillard - * + * * Ingen 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. - * + * * Ingen 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 @@ -51,20 +51,20 @@ public: */ virtual void transfer_begin() = 0; virtual void transfer_end() = 0; - + virtual void error(const std::string& msg) = 0; - + virtual void new_plugin(const Raul::URI& uri, const Raul::URI& type_uri, const Raul::Symbol& symbol) = 0; - + virtual void activity(const Raul::Path& path) = 0; - + virtual void program_add(const Raul::Path& node_path, uint32_t bank, uint32_t program, const std::string& program_name) = 0; - + virtual void program_remove(const Raul::Path& node_path, uint32_t bank, uint32_t program) = 0; diff --git a/src/common/interface/CommonInterface.hpp b/src/common/interface/CommonInterface.hpp index d00c7baa..fbacfba1 100644 --- a/src/common/interface/CommonInterface.hpp +++ b/src/common/interface/CommonInterface.hpp @@ -1,15 +1,15 @@ /* This file is part of Ingen. * Copyright (C) 2008 Dave Robillard - * + * * Ingen 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. - * + * * Ingen 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 @@ -38,52 +38,52 @@ class CommonInterface { public: virtual ~CommonInterface() {} - + /** Begin an atomic bundle */ virtual void bundle_begin() = 0; /** End (and send) an atomic bundle */ virtual void bundle_end() = 0; - + virtual bool new_object(const GraphObject* object) = 0; virtual void new_patch(const Raul::Path& path, uint32_t poly) = 0; - + virtual void new_node(const Raul::Path& path, const Raul::URI& plugin_uri) = 0; - + virtual void new_port(const Raul::Path& path, const Raul::URI& type, uint32_t index, bool is_output) = 0; - + virtual void rename(const Raul::Path& old_path, const Raul::Path& new_path) = 0; - + virtual void connect(const Raul::Path& src_port_path, const Raul::Path& dst_port_path) = 0; - + virtual void disconnect(const Raul::Path& src_port_path, const Raul::Path& dst_port_path) = 0; - + virtual void set_variable(const Raul::URI& subject_path, const Raul::URI& predicate, const Raul::Atom& value) = 0; - + virtual void set_property(const Raul::URI& subject_path, const Raul::URI& predicate, const Raul::Atom& value) = 0; - + virtual void set_port_value(const Raul::Path& port_path, const Raul::Atom& value) = 0; - + virtual void set_voice_value(const Raul::Path& port_path, uint32_t voice, const Raul::Atom& value) = 0; - + virtual void destroy(const Raul::Path& path) = 0; - + virtual void clear_patch(const Raul::Path& patch_path) = 0; }; diff --git a/src/common/interface/Connection.hpp b/src/common/interface/Connection.hpp index 92c3ab9a..535d5764 100644 --- a/src/common/interface/Connection.hpp +++ b/src/common/interface/Connection.hpp @@ -1,15 +1,15 @@ /* This file is part of Ingen. * Copyright (C) 2007 Dave Robillard - * + * * Ingen 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. - * + * * Ingen 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 diff --git a/src/common/interface/DataType.hpp b/src/common/interface/DataType.hpp index 80d3e5e9..ecc90aac 100644 --- a/src/common/interface/DataType.hpp +++ b/src/common/interface/DataType.hpp @@ -1,15 +1,15 @@ /* This file is part of Ingen. * Copyright (C) 2007 Dave Robillard - * + * * Ingen 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. - * + * * Ingen 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 @@ -34,14 +34,14 @@ namespace Shared { */ class DataType { public: - + enum Symbol { UNKNOWN = 0, AUDIO = 1, CONTROL = 2, EVENT = 3 }; - + DataType(const Raul::URI& uri) : _symbol(UNKNOWN) { @@ -70,7 +70,7 @@ public: inline bool is_event() { return _symbol == EVENT; } private: - + static inline const char* type_uri(unsigned symbol_num) { switch (symbol_num) { case 1: return "lv2:AudioPort"; diff --git a/src/common/interface/EngineInterface.hpp b/src/common/interface/EngineInterface.hpp index 64284f05..3237929a 100644 --- a/src/common/interface/EngineInterface.hpp +++ b/src/common/interface/EngineInterface.hpp @@ -1,15 +1,15 @@ /* This file is part of Ingen. * Copyright (C) 2007 Dave Robillard - * + * * Ingen is free software = 0; you can redistribute it and/or modify it under the * terms of the GNU General Public License as published by the Free Software * Foundation = 0; either version 2 of the License, or (at your option) any later * version. - * + * * Ingen is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY = 0; 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 = 0; if not, write to the Free Software Foundation, Inc., * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA @@ -38,48 +38,48 @@ public: virtual ~EngineInterface() {} virtual Raul::URI uri() const = 0; - + // Responses virtual void set_next_response_id(int32_t id) = 0; virtual void disable_responses() = 0; - + // Client registration virtual void register_client(ClientInterface* client) = 0; virtual void unregister_client(const Raul::URI& uri) = 0; - + // Engine commands virtual void load_plugins() = 0; virtual void activate() = 0; virtual void deactivate() = 0; virtual void quit() = 0; - + // Object commands - + virtual void disconnect_all(const Raul::Path& parent_patch_path, const Raul::Path& path) = 0; - + virtual void set_program(const Raul::Path& node_path, uint32_t bank, uint32_t program) = 0; - + virtual void midi_learn(const Raul::Path& node_path) = 0; - + // Requests - + virtual void ping() = 0; - + virtual void request_plugin(const Raul::URI& uri) = 0; virtual void request_object(const Raul::Path& path) = 0; virtual void request_variable(const Raul::URI& path, const Raul::URI& key) = 0; - + virtual void request_property(const Raul::URI& path, const Raul::URI& key) = 0; virtual void request_plugins() = 0; - + virtual void request_all_objects() = 0; }; diff --git a/src/common/interface/EventType.hpp b/src/common/interface/EventType.hpp index 6d662b7e..2b29d630 100644 --- a/src/common/interface/EventType.hpp +++ b/src/common/interface/EventType.hpp @@ -1,15 +1,15 @@ /* This file is part of Ingen. * Copyright (C) 2008 Dave Robillard - * + * * Ingen 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. - * + * * Ingen 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 @@ -26,13 +26,13 @@ namespace Shared { */ class EventType { public: - + enum Symbol { UNKNOWN = 0, MIDI = 1, OSC = 2 }; - + EventType(const std::string& uri) : _symbol(UNKNOWN) { @@ -58,7 +58,7 @@ public: inline bool is_osc() { return _symbol == OSC; } private: - + static inline const char* type_uri(unsigned symbol_num) { switch (symbol_num) { case 1: return "ingen:MidiEvent"; diff --git a/src/common/interface/GraphObject.hpp b/src/common/interface/GraphObject.hpp index d4483b91..b84776b8 100644 --- a/src/common/interface/GraphObject.hpp +++ b/src/common/interface/GraphObject.hpp @@ -1,15 +1,15 @@ /* This file is part of Ingen. * Copyright (C) 2007 Dave Robillard - * + * * Ingen 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. - * + * * Ingen 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 @@ -44,7 +44,7 @@ class GraphObject : public Raul::Deletable { public: typedef Raul::PathTable< SharedPtr >::const_iterator const_iterator; - + virtual void set_path(const Raul::Path& path) = 0; virtual const Raul::Path path() const = 0; @@ -52,7 +52,7 @@ public: virtual const Properties& variables() const = 0; virtual Properties& variables() = 0; virtual bool polyphonic() const = 0; - + // FIXME: return WeakPtr, and stupid name virtual GraphObject* graph_parent() const = 0; }; diff --git a/src/common/interface/Node.hpp b/src/common/interface/Node.hpp index 26133b11..c91942a6 100644 --- a/src/common/interface/Node.hpp +++ b/src/common/interface/Node.hpp @@ -1,15 +1,15 @@ /* This file is part of Ingen. * Copyright (C) 2007 Dave Robillard - * + * * Ingen 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. - * + * * Ingen 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 @@ -28,12 +28,12 @@ class Plugin; /** A Node (or "module") in a Patch (which is also a Node). - * + * * A Node is a unit with input/output ports, a process() method, and some other * things. * * Purely virtual (except for the destructor). - * + * * \ingroup interface */ class Node : public virtual GraphObject diff --git a/src/common/interface/Patch.hpp b/src/common/interface/Patch.hpp index 9e609c7c..d66384f4 100644 --- a/src/common/interface/Patch.hpp +++ b/src/common/interface/Patch.hpp @@ -1,15 +1,15 @@ /* This file is part of Ingen. * Copyright (C) 2007 Dave Robillard - * + * * Ingen 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. - * + * * Ingen 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 @@ -38,7 +38,7 @@ public: typedef Raul::List< SharedPtr > Connections; virtual const Connections& connections() const = 0; - + virtual bool enabled() const = 0; virtual uint32_t internal_polyphony() const = 0; }; diff --git a/src/common/interface/Plugin.hpp b/src/common/interface/Plugin.hpp index 30b453f3..2637a5f8 100644 --- a/src/common/interface/Plugin.hpp +++ b/src/common/interface/Plugin.hpp @@ -1,15 +1,15 @@ /* This file is part of Ingen. * Copyright (C) 2007 Dave Robillard - * + * * Ingen 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. - * + * * Ingen 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 @@ -32,7 +32,7 @@ public: enum Type { LV2, LADSPA, Internal, Patch }; virtual Type type() const = 0; - + inline const char* type_uri() const { switch (type()) { case LV2: return "lv2:Plugin"; @@ -42,7 +42,7 @@ public: default: return ""; } } - + static inline Type type_from_uri(const std::string& uri) { if (uri == "lv2:Plugin") return LV2; diff --git a/src/common/interface/Port.hpp b/src/common/interface/Port.hpp index 09a886f1..6482c1e7 100644 --- a/src/common/interface/Port.hpp +++ b/src/common/interface/Port.hpp @@ -1,15 +1,15 @@ /* This file is part of Ingen. * Copyright (C) 2007 Dave Robillard - * + * * Ingen 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. - * + * * Ingen 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 @@ namespace Shared { /** A Port on a Node. * * Purely virtual (except for the destructor). - * + * * \ingroup interface */ class Port : public virtual GraphObject diff --git a/src/common/interface/Resource.hpp b/src/common/interface/Resource.hpp index d22f0a59..8f239c74 100644 --- a/src/common/interface/Resource.hpp +++ b/src/common/interface/Resource.hpp @@ -1,15 +1,15 @@ /* This file is part of Ingen. * Copyright (C) 2008 Dave Robillard - * + * * Ingen 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. - * + * * Ingen 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 -- cgit v1.2.1