diff options
author | David Robillard <d@drobilla.net> | 2007-02-18 23:38:47 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-02-18 23:38:47 +0000 |
commit | 0153919a422e7a520c38f9cd01e9a079f73c80fd (patch) | |
tree | 2cb063c7d885be9a50da0e5f2c10880a77eb0663 /slv2/private_types.h | |
parent | ec3e2125f960aa3de9da474d175bab353745748b (diff) | |
download | lilv-0153919a422e7a520c38f9cd01e9a079f73c80fd.tar.gz lilv-0153919a422e7a520c38f9cd01e9a079f73c80fd.tar.bz2 lilv-0153919a422e7a520c38f9cd01e9a079f73c80fd.zip |
Removed private_types.h (and all exposure of types that shouldn't have been exposed).
git-svn-id: http://svn.drobilla.net/lad/slv2@316 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'slv2/private_types.h')
-rw-r--r-- | slv2/private_types.h | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/slv2/private_types.h b/slv2/private_types.h deleted file mode 100644 index 906d89c..0000000 --- a/slv2/private_types.h +++ /dev/null @@ -1,81 +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_PRIVATE_TYPES_H__ -#define __SLV2_PRIVATE_TYPES_H__ - -#ifdef __cplusplus -extern "C" { -#endif - -#include <stdbool.h> -#include <stddef.h> -#include <raptor.h> -#include <slv2/lv2.h> - - -/* @file private_types.h - * - * If you're a user of SLV2, stop reading this RIGHT NOW :) - * Unfortunately it needs to be exposed to allow inlining of some things that - * really need to be inlined, but these are opaque types. - * - * DO NOT WRITE CODE THAT DEPENDS ON DEFINITIONS IN THIS FILE - */ - - -/** Record of an installed/available plugin. - * - * A simple reference to a plugin somewhere on the system. This just holds - * paths of relevant files, the actual data therein isn't loaded into memory. - */ -struct _Plugin { - char* plugin_uri; - char* bundle_url; // Bundle directory plugin was loaded from - raptor_sequence* data_uris; // rdfs::seeAlso - char* lib_uri; // lv2:binary -}; - - -/** Instance of a plugin (private type) */ -struct _Instance { - // FIXME: copy plugin here for convenience? - //struct LV2Plugin* plugin; - const LV2_Descriptor* descriptor; - void* lib_handle; - LV2_Handle lv2_handle; -}; - - -/** List of references to plugins available for loading (private type) */ -struct _PluginList { - size_t num_plugins; - struct _Plugin** plugins; -}; - - -/** An ordered, indexable collection of strings. */ -//typedef raptor_sequence* SLV2Strings; - - -#ifdef __cplusplus -} -#endif - -#endif /* __SLV2_PRIVATE_TYPES_H__ */ - |