From 5d1f579900182f283a1c21ad4e59daf7f035e219 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 9 Nov 2008 01:32:38 +0000 Subject: Move patch to /patch via HTTP to give a place for RESTful access to other things. Implement HTTP access to plugins. Work towards client being able to use HTTP to connect. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@1712 a436a847-0d15-0410-975c-d299462d15a1 --- src/client/PluginModel.hpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src/client/PluginModel.hpp') diff --git a/src/client/PluginModel.hpp b/src/client/PluginModel.hpp index f27bb232..3d25cb5e 100644 --- a/src/client/PluginModel.hpp +++ b/src/client/PluginModel.hpp @@ -66,23 +66,6 @@ public: const string& uri() const { return _uri; } const string& name() const { return _name; } - /** DEPRECATED */ - Type type_from_string(const string& type_string) { - if (type_string == "LV2") return LV2; - else if (type_string == "LADSPA") return LADSPA; - else if (type_string == "Internal") return Internal; - else if (type_string == "Patch") return Patch; - else return Internal; // ? - } - - Type type_from_uri(const string& type_uri) { - if (type_uri.substr(0, 6) != "ingen:") { - return Plugin::Internal; // ? - } else { - return type_from_string(type_uri.substr(6)); - } - } - string default_node_symbol(); string human_name(); string port_human_name(uint32_t index); -- cgit v1.2.1