aboutsummaryrefslogtreecommitdiffstats
path: root/ext/uri-unmap.lv2
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-11-20 23:08:57 +0000
committerDavid Robillard <d@drobilla.net>2011-11-20 23:08:57 +0000
commit725d4a404b838da6b67d9da66228a1125bddef57 (patch)
treea1daab3d767c85b1b67ff3a9eb60d54721b2e5fc /ext/uri-unmap.lv2
parent5ae0165d6d0420e95e22c1451e319b9e83398c28 (diff)
downloadlv2-725d4a404b838da6b67d9da66228a1125bddef57.tar.xz
Lay out repository structure to match include and URI structure.
Treat lv2core like all the other specifications in gendoc.py.
Diffstat (limited to 'ext/uri-unmap.lv2')
l---------ext/uri-unmap.lv2/ext.pc.in1
-rw-r--r--ext/uri-unmap.lv2/manifest.ttl8
-rw-r--r--ext/uri-unmap.lv2/uri-unmap.h81
-rw-r--r--ext/uri-unmap.lv2/uri-unmap.ttl46
l---------ext/uri-unmap.lv2/waf1
l---------ext/uri-unmap.lv2/wscript1
6 files changed, 0 insertions, 138 deletions
diff --git a/ext/uri-unmap.lv2/ext.pc.in b/ext/uri-unmap.lv2/ext.pc.in
deleted file mode 120000
index 950cb3b..0000000
--- a/ext/uri-unmap.lv2/ext.pc.in
+++ /dev/null
@@ -1 +0,0 @@
-../../ext.pc.in \ No newline at end of file
diff --git a/ext/uri-unmap.lv2/manifest.ttl b/ext/uri-unmap.lv2/manifest.ttl
deleted file mode 100644
index 217e7b6..0000000
--- a/ext/uri-unmap.lv2/manifest.ttl
+++ /dev/null
@@ -1,8 +0,0 @@
-@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
-@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
-
-<http://lv2plug.in/ns/ext/uri-unmap>
- a lv2:Specification ;
- lv2:minorVersion 0 ;
- lv2:microVersion 1 ;
- rdfs:seeAlso <uri-unmap.ttl> .
diff --git a/ext/uri-unmap.lv2/uri-unmap.h b/ext/uri-unmap.lv2/uri-unmap.h
deleted file mode 100644
index d6cb900..0000000
--- a/ext/uri-unmap.lv2/uri-unmap.h
+++ /dev/null
@@ -1,81 +0,0 @@
-/* lv2_uri_unmap.h - C header file for the LV2 URI Unmap extension.
- *
- * Copyright (C) 2010 David Robillard <http://drobilla.net>
- *
- * This header is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License as published
- * by the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This header is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
- * License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this header; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place, Suite 330, Boston, MA 01222-1307 USA
- */
-
-/** @file
- * C header for the LV2 URI Map extension <http://lv2plug.in/ns/ext/uri-unmap>.
- */
-
-#ifndef LV2_URI_UNMAP_H
-#define LV2_URI_UNMAP_H
-
-#define LV2_URI_UNMAP_URI "http://lv2plug.in/ns/ext/uri-unmap"
-
-#include <stdint.h>
-
-
-/** Opaque pointer to host data. */
-typedef void* LV2_URI_Unmap_Callback_Data;
-
-
-/** The data field of the LV2_Feature for the URI Unmap extension.
- *
- * To support this extension the host must pass an LV2_Feature struct to the
- * plugin's instantiate method with URI "http://lv2plug.in/ns/ext/uri-unmap"
- * and data pointed to an instance of this struct.
- */
-typedef struct {
-
- /** Opaque pointer to host data.
- *
- * The plugin MUST pass this to any call to functions in this struct.
- * Otherwise, it must not be interpreted in any way.
- */
- LV2_URI_Unmap_Callback_Data callback_data;
-
- /** Get the numeric ID of a URI from the host.
- *
- * @param callback_data Must be the callback_data member of this struct.
- * @param map The 'context' used to map this URI.
- * @param id The URI ID to unmap.
- * @return The string form of @a id, or NULL on error.
- *
- * The @a id MUST be a value previously returned from
- * LV2_Uri_Map_Feature.uri_to_id.
- *
- * The returned string is owned by the host and MUST NOT be freed by
- * the plugin or stored for a long period of time (e.g. across run
- * invocations) without copying.
- *
- * This function is referentially transparent - any number of calls with
- * the same arguments is guaranteed to return the same value over the life
- * of a plugin instance (though the same ID may return different values
- * with a different map parameter).
- *
- * This function may be called from any non-realtime thread, possibly
- * concurrently (hosts may simply use a mutex to meet these requirements).
- */
- const char* (*id_to_uri)(LV2_URI_Unmap_Callback_Data callback_data,
- const char* map,
- uint32_t id);
-
-} LV2_URI_Unmap_Feature;
-
-
-#endif /* LV2_URI_UNMAP_H */
-
diff --git a/ext/uri-unmap.lv2/uri-unmap.ttl b/ext/uri-unmap.lv2/uri-unmap.ttl
deleted file mode 100644
index 053bb37..0000000
--- a/ext/uri-unmap.lv2/uri-unmap.ttl
+++ /dev/null
@@ -1,46 +0,0 @@
-# LV2 URI Unmap Extension
-# Copyright (C) 2010 David Robillard <d@drobilla.net>
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the "Software"),
-# to deal in the Software without restriction, including without limitation
-# the rights to use, copy, modify, merge, publish, distribute, sublicense,
-# and/or sell copies of the Software, and to permit persons to whom the
-# Software is furnished to do so, subject to the following conditions:
-#
-# The above copyright notice and this permission notice shall be included
-# in all copies or substantial portions of the Software.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
-# THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
-# OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
-# ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
-# OTHER DEALINGS IN THE SOFTWARE.
-
-@prefix unmap: <http://lv2plug.in/ns/ext/uri-unmap#> .
-@prefix lv2: <http://lv2plug.in/ns/lv2core#> .
-@prefix lv2ev: <http://lv2plug.in/ns/ext/event#> .
-@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
-@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
-@prefix doap: <http://usefulinc.com/ns/doap#> .
-@prefix foaf: <http://xmlns.com/foaf/0.1/> .
-
-<http://lv2plug.in/ns/ext/uri-unmap> a lv2:Specification , lv2:Feature ;
- doap:license <http://usefulinc.com/doap/licenses/mit> ;
- doap:name "LV2 URI Unmap" ;
- doap:shortdesc "A feature for unmapping URIs from integers." ;
- doap:maintainer [
- a foaf:Person ;
- foaf:name "David Robillard" ;
- foaf:homepage <http://drobilla.net/> ;
- rdfs:seeAlso <http://drobilla.net/drobilla.xrdf>
- ] ;
- lv2:documentation """
-<p>This extension is the opposite of the <a
-href="http://lv2plug.in/ns/ext/uri-map" >LV2 URI Map</a> extension. It allows
-the host to pass an id_to_uri function to the plugin which can be used for
-unmapping an integer (previously mapped using the URI map extension's
-uri_to_id) back to a string.</p>""" .
-
diff --git a/ext/uri-unmap.lv2/waf b/ext/uri-unmap.lv2/waf
deleted file mode 120000
index 59a1ac9..0000000
--- a/ext/uri-unmap.lv2/waf
+++ /dev/null
@@ -1 +0,0 @@
-../../waf \ No newline at end of file
diff --git a/ext/uri-unmap.lv2/wscript b/ext/uri-unmap.lv2/wscript
deleted file mode 120000
index b82a3d0..0000000
--- a/ext/uri-unmap.lv2/wscript
+++ /dev/null
@@ -1 +0,0 @@
-../../ext.wscript \ No newline at end of file