summaryrefslogtreecommitdiffstats
path: root/slv2/pluginclasses.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-12 01:50:39 +0000
committerDavid Robillard <d@drobilla.net>2009-02-12 01:50:39 +0000
commitd938b926f83537be7fe7260ea0537345e25be979 (patch)
treef34be93ae9845aca6d3f4ff52f7b9b13d57f7085 /slv2/pluginclasses.h
parentc4e62bfdd15d9b0ab7ffed7629f5bbcb4e69bd33 (diff)
downloadlilv-d938b926f83537be7fe7260ea0537345e25be979.tar.gz
lilv-d938b926f83537be7fe7260ea0537345e25be979.tar.bz2
lilv-d938b926f83537be7fe7260ea0537345e25be979.zip
Merge various collections into single files, reduce rampant code duplication.
git-svn-id: http://svn.drobilla.net/lad/trunk/slv2@1925 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/pluginclasses.h')
-rw-r--r--slv2/pluginclasses.h83
1 files changed, 0 insertions, 83 deletions
diff --git a/slv2/pluginclasses.h b/slv2/pluginclasses.h
deleted file mode 100644
index 7ad3455..0000000
--- a/slv2/pluginclasses.h
+++ /dev/null
@@ -1,83 +0,0 @@
-/* SLV2
- * Copyright (C) 2007 Dave Robillard <http://drobilla.net>
- *
- * This library is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This library 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 General Public License
- * for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#ifndef __SLV2_PLUGIN_CLASSES_H__
-#define __SLV2_PLUGIN_CLASSES_H__
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#include "slv2/pluginclass.h"
-
-/** \addtogroup slv2_collections
- * @{
- */
-
-
-/** Free an SLV2PluginClasses.
- * Note that only certain plugin classes should be freed by the user
- * (as specified by the documentation of the slv2 function which returned it).
- */
-void slv2_plugin_classes_free(SLV2PluginClasses classes);
-
-
-/** Get the number of plugins in the collection.
- */
-unsigned
-slv2_plugin_classes_size(SLV2PluginClasses classes);
-
-
-/** Get a plugin class from the collection by URI.
- *
- * Return value is shared (stored in \a classes) and must not be freed or
- * modified by the caller in any way.
- *
- * Time = O(log2(n))
- *
- * \return NULL if plugin with \a url not found in \a classes.
- */
-SLV2PluginClass
-slv2_plugin_classes_get_by_uri(SLV2PluginClasses classes,
- SLV2Value uri);
-
-
-/** Get a plugin from the collection by index.
- *
- * \a index has no significance other than as an index into \a classes.
- * Any \a index not less than slv2_plugin_classes_get_length(classes) will return NULL,
- * so all plugin_classes in a classes can be enumerated by repeated calls
- * to this function starting with \a index = 0.
- *
- * Time = O(1)
- *
- * \return NULL if \a index out of range.
- */
-SLV2PluginClass
-slv2_plugin_classes_get_at(SLV2PluginClasses classes,
- unsigned index);
-
-
-/** @} */
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
-
-#endif /* __SLV2_PLUGIN_CLASSES_H__ */
-