summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-12 21:58:35 +0000
committerDavid Robillard <d@drobilla.net>2009-05-12 21:58:35 +0000
commited1032ca54a55c48d2f7c9709b77a4f4da935e99 (patch)
treeebc821e22bcdd9424383174fe9ec2a6a32dbb362 /src/common
parentc32745b044d88e74526599c5994255a2ea6d2c21 (diff)
downloadingen-ed1032ca54a55c48d2f7c9709b77a4f4da935e99.tar.gz
ingen-ed1032ca54a55c48d2f7c9709b77a4f4da935e99.tar.bz2
ingen-ed1032ca54a55c48d2f7c9709b77a4f4da935e99.zip
Bring EngineInterface and ClientInterface closer together.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1990 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/common')
-rw-r--r--src/common/interface/ClientInterface.hpp5
-rw-r--r--src/common/interface/CommonInterface.hpp5
-rw-r--r--src/common/interface/EngineInterface.hpp16
3 files changed, 5 insertions, 21 deletions
diff --git a/src/common/interface/ClientInterface.hpp b/src/common/interface/ClientInterface.hpp
index 80a48dc9..23e3c375 100644
--- a/src/common/interface/ClientInterface.hpp
+++ b/src/common/interface/ClientInterface.hpp
@@ -65,11 +65,6 @@ public:
const std::string& type_uri,
const std::string& symbol) = 0;
- virtual void patch_cleared(const std::string& path) = 0;
-
- virtual void object_renamed(const std::string& old_path,
- const std::string& new_path) = 0;
-
virtual void activity(const std::string& path) = 0;
virtual void program_add(const std::string& node_path,
diff --git a/src/common/interface/CommonInterface.hpp b/src/common/interface/CommonInterface.hpp
index d25e173d..9bbef09d 100644
--- a/src/common/interface/CommonInterface.hpp
+++ b/src/common/interface/CommonInterface.hpp
@@ -58,6 +58,9 @@ public:
uint32_t index,
bool is_output) = 0;
+ virtual void rename(const std::string& old_path,
+ const std::string& new_path) = 0;
+
virtual void connect(const std::string& src_port_path,
const std::string& dst_port_path) = 0;
@@ -80,6 +83,8 @@ public:
const Raul::Atom& value) = 0;
virtual void destroy(const std::string& path) = 0;
+
+ virtual void clear_patch(const std::string& patch_path) = 0;
};
diff --git a/src/common/interface/EngineInterface.hpp b/src/common/interface/EngineInterface.hpp
index dc5be1dc..2e84e4e3 100644
--- a/src/common/interface/EngineInterface.hpp
+++ b/src/common/interface/EngineInterface.hpp
@@ -54,10 +54,6 @@ public:
virtual void deactivate() = 0;
virtual void quit() = 0;
- // Bundles
- virtual void bundle_begin() = 0;
- virtual void bundle_end() = 0;
-
// Object commands
/** DEPRECATED */
@@ -65,22 +61,10 @@ public:
const std::string& plugin_type,
const std::string& library_name,
const std::string& plugin_label) = 0;
-
- virtual void rename(const std::string& old_path,
- const std::string& new_symbol) = 0;
-
- virtual void clear_patch(const std::string& patch_path) = 0;
virtual void disconnect_all(const std::string& parent_patch_path,
const std::string& path) = 0;
- virtual void set_port_value(const std::string& 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_program(const std::string& node_path,
uint32_t bank,
uint32_t program) = 0;