summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-10-19 01:28:31 +0000
committerDavid Robillard <d@drobilla.net>2009-10-19 01:28:31 +0000
commit7245510de8a82e85b68600b075064ae8ea84f2f5 (patch)
tree3afb6e9e8f15ac31d87fdee9360d5831f640208d /src/client
parentc2dc1c0a8f0dbf529a7db434a897efd4dc8578eb (diff)
downloadingen-7245510de8a82e85b68600b075064ae8ea84f2f5.tar.gz
ingen-7245510de8a82e85b68600b075064ae8ea84f2f5.tar.bz2
ingen-7245510de8a82e85b68600b075064ae8ea84f2f5.zip
Move pointlessley inlined virtual methods to implementation file.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@2193 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/client')
-rw-r--r--src/client/ObjectModel.cpp16
-rw-r--r--src/client/ObjectModel.hpp11
2 files changed, 18 insertions, 9 deletions
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; }