00001 /* SLV2 00002 * Copyright (C) 2007 Dave Robillard <http://drobilla.net> 00003 * 00004 * This library is free software; you can redistribute it and/or modify it 00005 * under the terms of the GNU General Public License as published by the Free 00006 * Software Foundation; either version 2 of the License, or (at your option) 00007 * any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, but WITHOUT 00010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00011 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 00012 * for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License along 00015 * with this program; if not, write to the Free Software Foundation, Inc., 00016 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 00017 */ 00018 00019 #ifndef __SLV2_PLUGINS_H__ 00020 #define __SLV2_PLUGINS_H__ 00021 00022 #ifdef __cplusplus 00023 extern "C" { 00024 #endif 00025 00026 #include <slv2/types.h> 00027 #include <slv2/plugin.h> 00028 00039 void 00040 slv2_plugins_free(SLV2World world, 00041 SLV2Plugins plugins); 00042 00043 00046 unsigned 00047 slv2_plugins_size(SLV2Plugins plugins); 00048 00049 00059 SLV2Plugin 00060 slv2_plugins_get_by_uri(SLV2Plugins plugins, 00061 SLV2Value uri); 00062 00063 00075 SLV2Plugin 00076 slv2_plugins_get_at(SLV2Plugins plugins, 00077 unsigned index); 00078 00079 00082 #ifdef __cplusplus 00083 } 00084 #endif 00085 00086 #endif /* __SLV2_PLUGINS_H__ */ 00087