From 694b31089c8060fc6b908b146b12c0e340d004c7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 17 Aug 2008 01:34:53 +0000 Subject: Cloooser... Bundling of OSC communication both ways (previous was just engine->client). Factor out common OSC*Sender functionality (bundling stuff). Fully type-safe and polyphony-aware port value setting/getting, from RDF through OSC through engine and back again. git-svn-id: http://svn.drobilla.net/lad/ingen@1409 a436a847-0d15-0410-975c-d299462d15a1 --- src/common/interface/ClientInterface.hpp | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/common/interface/ClientInterface.hpp') diff --git a/src/common/interface/ClientInterface.hpp b/src/common/interface/ClientInterface.hpp index e6bb9d6d..16e17fc0 100644 --- a/src/common/interface/ClientInterface.hpp +++ b/src/common/interface/ClientInterface.hpp @@ -36,10 +36,9 @@ namespace Shared { class ClientInterface : public CommonInterface { public: - virtual ~ClientInterface() {} - inline const std::string& uri() const { return _uri; } + virtual std::string uri() const = 0; virtual void response_ok(int32_t id) = 0; virtual void response_error(int32_t id, const std::string& msg) = 0; @@ -97,9 +96,6 @@ public: virtual void object_destroyed(const std::string& path) = 0; - virtual void control_change(const std::string& port_path, - float value) = 0; - virtual void port_activity(const std::string& port_path) = 0; virtual void program_add(const std::string& node_path, @@ -110,16 +106,6 @@ public: virtual void program_remove(const std::string& node_path, uint32_t bank, uint32_t program) = 0; - -protected: - ClientInterface(const std::string& uri) : _uri(uri) {} - ClientInterface() { - static char uri_buf[20]; - snprintf(uri_buf, 127, "%p", this); - _uri = uri_buf; - } - - std::string _uri; }; -- cgit v1.2.1