From 7245510de8a82e85b68600b075064ae8ea84f2f5 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 19 Oct 2009 01:28:31 +0000 Subject: Move pointlessley inlined virtual methods to implementation file. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2193 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/ObjectModel.cpp | 16 ++++++++++++++++ src/client/ObjectModel.hpp | 11 ++--------- 2 files changed, 18 insertions(+), 9 deletions(-) (limited to 'src') diff --git a/src/client/ObjectModel.cpp b/src/client/ObjectModel.cpp index af0473a9..bdf0be4f 100644 --- a/src/client/ObjectModel.cpp +++ b/src/client/ObjectModel.cpp @@ -40,6 +40,22 @@ ObjectModel::~ObjectModel() } +Raul::Atom& +ObjectModel::set_property(const Raul::URI& key, const Raul::Atom& value) +{ + signal_property.emit(key, value); + return ResourceImpl::set_property(key, value); +} + + +Raul::Atom& +ObjectModel::set_meta_property(const Raul::URI& key, const Raul::Atom& value) +{ + signal_property.emit(key, value); + return _meta.set_property(key, value); +} + + const Atom& ObjectModel::get_property(const Raul::URI& key) const { diff --git a/src/client/ObjectModel.hpp b/src/client/ObjectModel.hpp index 840f9339..25657ed5 100644 --- a/src/client/ObjectModel.hpp +++ b/src/client/ObjectModel.hpp @@ -56,15 +56,8 @@ public: virtual const Raul::Atom& get_property(const Raul::URI& key) const; - virtual Raul::Atom& set_property(const Raul::URI& key, const Raul::Atom& value) { - signal_property.emit(key, value); - return ResourceImpl::set_property(key, value); - } - - virtual Raul::Atom& set_meta_property(const Raul::URI& key, const Raul::Atom& value) { - signal_property.emit(key, value); - return _meta.set_property(key, value); - } + virtual Raul::Atom& set_property(const Raul::URI& key, const Raul::Atom& value); + virtual Raul::Atom& set_meta_property(const Raul::URI& key, const Raul::Atom& value); Resource& meta() { return _meta; } const Resource& meta() const { return _meta; } -- cgit v1.2.1