diff options
author | Thibaut Mattern <tmattern@users.sourceforge.net> | 2005-02-13 14:24:25 +0000 |
---|---|---|
committer | Thibaut Mattern <tmattern@users.sourceforge.net> | 2005-02-13 14:24:25 +0000 |
commit | 9aadca553744e2510c9b234efe68857b077c7719 (patch) | |
tree | b1313df7453ca2a91c429399b1024280b2ddb600 /src/xine-engine/xine_plugin.h | |
parent | 4274c6e0952fad298b3f31222a4db7d4bc50c773 (diff) | |
download | xine-lib-9aadca553744e2510c9b234efe68857b077c7719.tar.gz xine-lib-9aadca553744e2510c9b234efe68857b077c7719.tar.bz2 |
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
Diffstat (limited to 'src/xine-engine/xine_plugin.h')
-rw-r--r-- | src/xine-engine/xine_plugin.h | 15 |
1 files changed, 14 insertions, 1 deletions
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 |