summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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; }