diff options
author | David Robillard <d@drobilla.net> | 2009-05-13 04:05:32 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-13 04:05:32 +0000 |
commit | 19928bb583e72802746b89e322f71ecc0fcb7427 (patch) | |
tree | 95912dc84d8c9dcf57939398514feaf148c1cd63 /src/common/interface/CommonInterface.hpp | |
parent | 96f839e64de70a23210847e322d24690299287fe (diff) | |
download | ingen-19928bb583e72802746b89e322f71ecc0fcb7427.tar.gz ingen-19928bb583e72802746b89e322f71ecc0fcb7427.tar.bz2 ingen-19928bb583e72802746b89e322f71ecc0fcb7427.zip |
The great ID refactoring of 2009.
Path is now actually URI (scheme path: for now).
Therefore ingen nodes and such live in the same namespace as ... well, everything.
Including plugins.
Thar be profit, laddies.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1992 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/common/interface/CommonInterface.hpp')
-rw-r--r-- | src/common/interface/CommonInterface.hpp | 54 |
1 files changed, 27 insertions, 27 deletions
diff --git a/src/common/interface/CommonInterface.hpp b/src/common/interface/CommonInterface.hpp index 9bbef09d..aaa06628 100644 --- a/src/common/interface/CommonInterface.hpp +++ b/src/common/interface/CommonInterface.hpp @@ -23,7 +23,7 @@ #include "interface/CommonInterface.hpp" #include "interface/GraphObject.hpp" -namespace Raul { class Atom; } +namespace Raul { class Atom; class Path; class URI; } namespace Ingen { namespace Shared { @@ -47,44 +47,44 @@ public: virtual bool new_object(const GraphObject* object) = 0; - virtual void new_patch(const std::string& path, - uint32_t poly) = 0; + virtual void new_patch(const Raul::Path& path, + uint32_t poly) = 0; - virtual void new_node(const std::string& path, - const std::string& plugin_uri) = 0; + virtual void new_node(const Raul::Path& path, + const Raul::URI& plugin_uri) = 0; - virtual void new_port(const std::string& path, - const std::string& type, - uint32_t index, - bool is_output) = 0; + virtual void new_port(const Raul::Path& path, + const Raul::URI& type, + uint32_t index, + bool is_output) = 0; - virtual void rename(const std::string& old_path, - const std::string& new_path) = 0; + virtual void rename(const Raul::Path& old_path, + const Raul::Path& new_path) = 0; - virtual void connect(const std::string& src_port_path, - const std::string& dst_port_path) = 0; + virtual void connect(const Raul::Path& src_port_path, + const Raul::Path& dst_port_path) = 0; - virtual void disconnect(const std::string& src_port_path, - const std::string& dst_port_path) = 0; + virtual void disconnect(const Raul::Path& src_port_path, + const Raul::Path& dst_port_path) = 0; - virtual void set_variable(const std::string& subject_path, - const std::string& predicate, - const Raul::Atom& value) = 0; + virtual void set_variable(const Raul::Path& subject_path, + const Raul::URI& predicate, + const Raul::Atom& value) = 0; - virtual void set_property(const std::string& subject_path, - const std::string& predicate, - const Raul::Atom& value) = 0; + virtual void set_property(const Raul::Path& subject_path, + const Raul::URI& predicate, + const Raul::Atom& value) = 0; - virtual void set_port_value(const std::string& port_path, + virtual void set_port_value(const Raul::Path& port_path, const Raul::Atom& value) = 0; - virtual void set_voice_value(const std::string& port_path, - uint32_t voice, - const Raul::Atom& value) = 0; + virtual void set_voice_value(const Raul::Path& port_path, + uint32_t voice, + const Raul::Atom& value) = 0; - virtual void destroy(const std::string& path) = 0; + virtual void destroy(const Raul::Path& path) = 0; - virtual void clear_patch(const std::string& patch_path) = 0; + virtual void clear_patch(const Raul::Path& patch_path) = 0; }; |