summaryrefslogtreecommitdiffstats
path: root/ingen/GraphObject.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-07-30 23:22:44 +0000
committerDavid Robillard <d@drobilla.net>2012-07-30 23:22:44 +0000
commit9088edb2534a616b757197662d77abcb0291470b (patch)
treefc3c86d6a7af39642768d4b864dd38438f9a2e48 /ingen/GraphObject.hpp
parent0e1bf6ddfc77866ff6477a3f394c030c2a5e1b39 (diff)
downloadingen-9088edb2534a616b757197662d77abcb0291470b.tar.gz
ingen-9088edb2534a616b757197662d77abcb0291470b.tar.bz2
ingen-9088edb2534a616b757197662d77abcb0291470b.zip
Merge Resource and ResourceImpl, eliminating more virtual inheritance.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4577 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'ingen/GraphObject.hpp')
-rw-r--r--ingen/GraphObject.hpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/ingen/GraphObject.hpp b/ingen/GraphObject.hpp
index a0d5ec22..a8bee0b0 100644
--- a/ingen/GraphObject.hpp
+++ b/ingen/GraphObject.hpp
@@ -19,6 +19,7 @@
#include "ingen/Resource.hpp"
#include "raul/Deletable.hpp"
+#include "raul/Path.hpp"
#include "raul/SharedPtr.hpp"
namespace Raul {
@@ -36,8 +37,7 @@ class Plugin;
*
* @ingroup Ingen
*/
-class GraphObject : public Raul::Deletable
- , public virtual Resource
+class GraphObject : public Resource
{
public:
virtual void set_path(const Raul::Path& path) = 0;
@@ -67,6 +67,10 @@ public:
virtual GraphObject* graph_parent() const = 0;
protected:
+ GraphObject(Shared::URIs& uris, const Raul::Path& path)
+ : Resource(uris, path)
+ {}
+
Edges _edges; ///< Patches only
};