diff options
Diffstat (limited to 'src/common/interface')
-rw-r--r-- | src/common/interface/CommonInterface.hpp | 14 | ||||
-rw-r--r-- | src/common/interface/Resource.hpp | 8 |
2 files changed, 6 insertions, 16 deletions
diff --git a/src/common/interface/CommonInterface.hpp b/src/common/interface/CommonInterface.hpp index b0676ac7..3c81a4a3 100644 --- a/src/common/interface/CommonInterface.hpp +++ b/src/common/interface/CommonInterface.hpp @@ -45,18 +45,8 @@ public: /** End (and send) an atomic bundle */ virtual void bundle_end() = 0; - virtual bool new_object(const GraphObject* object) = 0; - - virtual void new_patch(const Raul::Path& path, - uint32_t poly) = 0; - - virtual void new_node(const Raul::Path& path, - const Raul::URI& plugin_uri) = 0; - - virtual void new_port(const Raul::Path& path, - const Raul::URI& type, - uint32_t index, - bool is_output) = 0; + virtual void put(const Raul::Path& path, + const Resource::Properties& properties) = 0; virtual void rename(const Raul::Path& old_path, const Raul::Path& new_path) = 0; diff --git a/src/common/interface/Resource.hpp b/src/common/interface/Resource.hpp index 9fac8d0b..7512bfe7 100644 --- a/src/common/interface/Resource.hpp +++ b/src/common/interface/Resource.hpp @@ -30,11 +30,11 @@ namespace Shared { class Resource { public: - typedef std::map<Raul::URI, Raul::Atom> Properties; + typedef std::multimap<Raul::URI, Raul::Atom> Properties; - virtual const Raul::URI uri() const = 0; - virtual const Properties& properties() const = 0; - virtual Properties& properties() = 0; + virtual const Raul::URI uri() const = 0; + virtual const Properties& properties() const = 0; + virtual Properties& properties() = 0; virtual void set_property(const Raul::URI& uri, const Raul::Atom& value) = 0; |