diff options
author | Rich J Wareham <richwareham@users.sourceforge.net> | 2001-09-14 21:25:55 +0000 |
---|---|---|
committer | Rich J Wareham <richwareham@users.sourceforge.net> | 2001-09-14 21:25:55 +0000 |
commit | 2a6944aa21b4184d8174b74d9c0fbff807c16c4e (patch) | |
tree | afa0258b9fa0bbca72511b67dfd28f327d6c9f03 /src/xine-engine/events.h | |
parent | 01acad2a27f178995bcfda3f752fd1dac545c109 (diff) | |
download | xine-lib-2a6944aa21b4184d8174b74d9c0fbff807c16c4e.tar.gz xine-lib-2a6944aa21b4184d8174b74d9c0fbff807c16c4e.tar.bz2 |
Added some stuff to make still-frame menus work a bit better, allowed events for UI to find language of audio/spu track
CVS patchset: 636
CVS date: 2001/09/14 21:25:55
Diffstat (limited to 'src/xine-engine/events.h')
-rw-r--r-- | src/xine-engine/events.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/xine-engine/events.h b/src/xine-engine/events.h index a1ec552f5..bcf4eeef7 100644 --- a/src/xine-engine/events.h +++ b/src/xine-engine/events.h @@ -73,6 +73,32 @@ typedef struct spu_event_s { void *data; } spu_event_t; +/** + * UI event - send information to/from UI. + */ +#define XINE_UI_EVENT 0x0004 +typedef struct ui_event_s { + event_t event; + int sub_type; + void *data; + uint32_t data_len; + int handled; +} ui_event_t; + +/* UI sub-types */ + +/* Warn Xine UI that spu/audio stream has changed and to + * update accordingly, data is unused. */ +#define XINE_UI_UPDATE_CHANNEL 0x0001 +/* UI asks for conversion of spu stream number into language. + * if the listener can do it, it sets handled to 1 and writes + * the string into data. data_len is how big this buffer is*/ +#define XINE_UI_GET_SPU_LANG 0x0002 +/* As above but for audio streams */ +#define XINE_UI_GET_AUDIO_LANG 0x0003 + +/* EOF UI sub-types */ + #ifdef __cplusplus } #endif |