From c65659729265b8795ea76390a3507023ff3164dd Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 21 Oct 2011 18:28:40 +0000 Subject: Remove implementation of uri-unmap extension. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@3563 a436a847-0d15-0410-975c-d299462d15a1 --- src/shared/LV2URIMap.hpp | 26 ++------------------------ 1 file changed, 2 insertions(+), 24 deletions(-) (limited to 'src/shared/LV2URIMap.hpp') diff --git a/src/shared/LV2URIMap.hpp b/src/shared/LV2URIMap.hpp index 8363d341..8c126a0e 100644 --- a/src/shared/LV2URIMap.hpp +++ b/src/shared/LV2URIMap.hpp @@ -26,14 +26,13 @@ #include "raul/URI.hpp" #include "lv2/lv2plug.in/ns/ext/uri-map/uri-map.h" -#include "lv2/lv2plug.in/ns/ext/uri-unmap/uri-unmap.h" #include "LV2Features.hpp" namespace Ingen { namespace Shared { -/** Implementation of the LV2 URI Map and URI Unmap extensions +/** Implementation of the LV2 URI Map extension */ class LV2URIMap : public boost::noncopyable, public LV2Features::Feature { public: @@ -43,18 +42,6 @@ public: return SharedPtr(&uri_map_feature, NullDeleter); } - struct UnmapFeature : public LV2Features::Feature { - UnmapFeature(const LV2URIMap& map) : _feature(map.uri_unmap_feature) {} - - SharedPtr feature(Shared::World*, Node*) { - return SharedPtr(&_feature, NullDeleter); - } - - LV2_Feature _feature; - }; - - SharedPtr unmap_feature() { return _unmap_feature; } - virtual uint32_t uri_to_id(const char* map, const char* uri); virtual const char* id_to_uri(const char* map, uint32_t id); @@ -66,19 +53,10 @@ private: const char* map, const char* uri); - static const char* uri_unmap_id_to_uri(LV2_URI_Map_Callback_Data callback_data, - const char* map, - const uint32_t id); - LV2_Feature uri_map_feature; LV2_URI_Map_Feature uri_map_feature_data; - LV2_Feature uri_unmap_feature; - LV2_URI_Unmap_Feature uri_unmap_feature_data; - - SharedPtr _unmap_feature; - - typedef std::map EventToGlobal; +typedef std::map EventToGlobal; typedef std::map GlobalToEvent; EventToGlobal _event_to_global; -- cgit v1.2.1