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/engine/GraphObjectImpl.hpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'src/engine/GraphObjectImpl.hpp') diff --git a/src/engine/GraphObjectImpl.hpp b/src/engine/GraphObjectImpl.hpp index d5156088..c6cc349a 100644 --- a/src/engine/GraphObjectImpl.hpp +++ b/src/engine/GraphObjectImpl.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 @@ -48,17 +48,17 @@ class GraphObjectImpl : virtual public Ingen::Shared::GraphObject { public: virtual ~GraphObjectImpl() {} - + bool polyphonic() const { return _polyphonic; } virtual bool set_polyphonic(Raul::Maid& maid, bool p) { _polyphonic = p; return true; } - + GraphObject* graph_parent() const { return _parent; } - + const Raul::URI uri() const { return path(); } inline GraphObjectImpl* parent() const { return _parent; } const Raul::Symbol symbol() const { return _name; } - + virtual void process(ProcessContext& context) = 0; /** Rename */ @@ -67,16 +67,16 @@ public: _name = new_path.name(); assert(_name.find("/") == std::string::npos); } - + const Raul::Atom& get_variable(const Raul::URI& key); void set_variable(const Raul::URI& key, const Raul::Atom& value); - + const Properties& variables() const { return _variables; } Properties& variables() { return _variables; } /** The Patch this object is a child of. */ virtual PatchImpl* parent_patch() const; - + /** Raul::Path is dynamically generated from parent to ease renaming */ const Raul::Path path() const { if (_parent == NULL) @@ -86,7 +86,7 @@ public: else return Raul::Path(_parent->path().child(_name)); } - + SharedPtr find_child(const std::string& name) const; protected: @@ -99,7 +99,7 @@ protected: assert(parent == NULL || _name.length() > 0); assert(_name.find("/") == std::string::npos); } - + GraphObjectImpl* _parent; std::string _name; bool _polyphonic; -- cgit v1.2.1