summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorphintuka <phintuka>2008-11-13 21:37:50 +0000
committerphintuka <phintuka>2008-11-13 21:37:50 +0000
commitae147f2dfbe0d4562e11ca54c8b05345c4b55d60 (patch)
tree3b7a85009dba6e8d352189b0261fd74327066b6a
parented542b13f06d2cf19647ab3a637fe8242e2284d5 (diff)
downloadxineliboutput-ae147f2dfbe0d4562e11ca54c8b05345c4b55d60.tar.gz
xineliboutput-ae147f2dfbe0d4562e11ca54c8b05345c4b55d60.tar.bz2
Added function pointers for frontend -> xine/vdr events (keypresses, ...)
-rw-r--r--xine_frontend.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/xine_frontend.h b/xine_frontend.h
index 5251f066..b28062e5 100644
--- a/xine_frontend.h
+++ b/xine_frontend.h
@@ -4,7 +4,7 @@
* See the main source file 'xineliboutput.c' for copyright information and
* how to reach the author.
*
- * $Id: xine_frontend.h,v 1.12 2008-11-13 21:24:56 phintuka Exp $
+ * $Id: xine_frontend.h,v 1.13 2008-11-13 21:37:50 phintuka Exp $
*
*/
@@ -87,14 +87,21 @@ struct frontend_s {
void (*fe_interrupt)(frontend_t*);
void (*fe_free)(frontend_t*);
- /* Data transfer */
int (*xine_is_finished)(frontend_t*, int slave_stream);
+
+ /* Data transfer VDR -> frontend/xine */
int (*xine_osd_command)(frontend_t*, struct osd_command_s *cmd);
int (*xine_control)(frontend_t*, const char *cmd);
int (*xine_queue_pes_packet)(frontend_t*, const char *data, int len);
char *(*grab)(frontend_t*, int *size, int jpeg, int quality,
int width, int height);
+
+ /* events from frontend -> xine/vdr */
+ int (*send_event)(frontend_t *fe, const char *data);
+ int (*send_input_event)(frontend_t *fe,
+ const char *map, const char *key,
+ int repeat, int release);
#if 0
frontend_config_t config;
#endif