diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-09-05 20:59:14 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-09-05 20:59:14 +0000 |
commit | 08eb3436712ed19ac471cd0ddcc6d8ab1c30e4e7 (patch) | |
tree | 7ea3d3dc75e444868e61e115e07654a3ce2c8c79 | |
parent | ea37f5776a90a7f8153757052a89d589185f5d23 (diff) | |
download | xine-lib-08eb3436712ed19ac471cd0ddcc6d8ab1c30e4e7.tar.gz xine-lib-08eb3436712ed19ac471cd0ddcc6d8ab1c30e4e7.tar.bz2 |
adding message event
CVS patchset: 2617
CVS date: 2002/09/05 20:59:14
-rw-r--r-- | include/xine.h.in | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/include/xine.h.in b/include/xine.h.in index 732428821..f9a7b5c8a 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -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.h.in,v 1.3 2002/09/05 16:50:55 guenter Exp $ + * $Id: xine.h.in,v 1.4 2002/09/05 20:59:14 guenter Exp $ * * public xine-lib (libxine) interface and documentation * @@ -750,6 +750,8 @@ void xine_reset_config (xine_t *self); #define XINE_EVENT_OUTPUT_VIDEO 42 #define XINE_EVENT_OUTPUT_NO_VIDEO 43 +#define XINE_EVENT_UI_MESSAGE 44 /* message (dialog) for the ui to display */ + /* * generic event type. */ @@ -798,6 +800,24 @@ typedef struct { } xine_ui_event_t; /* + * ui message - ask ui to display a message dialog + * dialog can have up to three buttons, labels for + * the buttons are provided. + * the response (which button was pressed) should be + * returned in "response" with 0=>button0, 1=>button1, + * 2=>button3, -1 => window closed / error / dialog could + * not be displayed. + */ + +typedef struct { + xine_event_t event; + char *message; + char *button0, *button1, *button2; + int num_buttons; + int resposne; +} xine_ui_message_event_t; + +/* * next_mrl */ typedef struct { |