summaryrefslogtreecommitdiff
path: root/src/input/input_plugin.h
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-10-17 20:33:09 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-10-17 20:33:09 +0000
commita0eefaaee68440f3d798c1146ac2f4fcd79982a4 (patch)
tree70058a0f49b8a15010c92464124e89ecfe41aabf /src/input/input_plugin.h
parentadadd9b06d2ef9df5d82bee0e7049b29322ff9f1 (diff)
downloadxine-lib-a0eefaaee68440f3d798c1146ac2f4fcd79982a4.tar.gz
xine-lib-a0eefaaee68440f3d798c1146ac2f4fcd79982a4.tar.bz2
demux / input plugin interface change, init functions now have access to the full xine_t *xine. This should enable stream plugins to register SCR plugins. WARNING: delete old input plugins, otherwise xine will crash
CVS patchset: 823 CVS date: 2001/10/17 20:33:09
Diffstat (limited to 'src/input/input_plugin.h')
-rw-r--r--src/input/input_plugin.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/input/input_plugin.h b/src/input/input_plugin.h
index c6aa19131..979ff9ca1 100644
--- a/src/input/input_plugin.h
+++ b/src/input/input_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: input_plugin.h,v 1.12 2001/08/17 16:15:36 f1rmb Exp $
+ * $Id: input_plugin.h,v 1.13 2001/10/17 20:33:09 guenter Exp $
*/
#ifndef HAVE_INPUT_PLUGIN_H
@@ -33,7 +33,7 @@ extern "C" {
#include "buffer.h"
#include "configfile.h"
-#define INPUT_PLUGIN_IFACE_VERSION 3
+#define INPUT_PLUGIN_IFACE_VERSION 4
/*
* Return pointer of allocate/cleaned memory size *size*.
@@ -309,6 +309,13 @@ struct input_plugin_s
#define INPUT_EVENT_KEYPRESS 2
#define INPUT_EVENT_MOUSEMOVE 3
+/*
+ * each input plugin _must_ implement this function:
+ *
+ * input_plugin_t *init_input_plugin (int iface, xine_t *xine) ;
+ *
+ */
+
#ifdef __cplusplus
}
#endif