From 9aadca553744e2510c9b234efe68857b077c7719 Mon Sep 17 00:00:00 2001 From: Thibaut Mattern Date: Sun, 13 Feb 2005 14:24:25 +0000 Subject: Introduce a new API function : void xine_register_plugins(xine_t *self, plugin_info_t *info); The goal of this function is to allow a frontend to register its own statically linked plugin(s). See this thread : http://thread.gmane.org/gmane.comp.video.xine.devel/12479 CVS patchset: 7407 CVS date: 2005/02/13 14:24:25 --- src/xine-engine/xine_plugin.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src/xine-engine/xine_plugin.h') diff --git a/src/xine-engine/xine_plugin.h b/src/xine-engine/xine_plugin.h index 914228b0b..0fed49aa9 100644 --- a/src/xine-engine/xine_plugin.h +++ b/src/xine-engine/xine_plugin.h @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine_plugin.h,v 1.16 2004/06/10 18:54:31 mroi Exp $ + * $Id: xine_plugin.h,v 1.17 2005/02/13 14:24:25 tmattern Exp $ * * generic plugin definitions * @@ -90,4 +90,17 @@ typedef struct { int priority; } input_info_t; + +/* register a list of statically linked plugins + * info is a list of plugin_info_t terminated by PLUGIN_NONE + * example: + * plugin_info_t acme_plugin_info[] = { + * { PLUGIN_VIDEO_OUT, 20, "acme", XINE_VERSION_CODE, &vo_info_acme, + * init_class_acme }, + * { PLUGIN_NONE, 0, "", 0, NULL, NULL } + * }; + * + */ +void xine_register_plugins(xine_t *self, plugin_info_t *info); + #endif -- cgit v1.2.3