Mercurial > mplayer.hg
comparison gui/interface.h @ 33309:733376438418
Declare parameter type for guiExit() more precisely.
This is possible now that guiExit() isn't longer called
by guiDone() with parameter DONE.
author | ib |
---|---|
date | Sat, 07 May 2011 15:58:06 +0000 |
parents | 3ce656827dd7 |
children | 45d8bfbd27bc |
comparison
equal
deleted
inserted
replaced
33308:0c2f2368a031 | 33309:733376438418 |
---|---|
19 #ifndef MPLAYER_GUI_INTERFACE_H | 19 #ifndef MPLAYER_GUI_INTERFACE_H |
20 #define MPLAYER_GUI_INTERFACE_H | 20 #define MPLAYER_GUI_INTERFACE_H |
21 | 21 |
22 #include "config.h" | 22 #include "config.h" |
23 #include "m_config.h" | 23 #include "m_config.h" |
24 #include "mp_core.h" | |
24 #include "playtree.h" | 25 #include "playtree.h" |
25 #include "stream/stream.h" | 26 #include "stream/stream.h" |
26 | 27 |
27 // These are in support of the non-GUI files that interact with | 28 // These are in support of the non-GUI files that interact with |
28 // the GUI and that only need to include interface.h for this. | 29 // the GUI and that only need to include interface.h for this. |
237 int gstrcmp(const char *a, const char *b); | 238 int gstrcmp(const char *a, const char *b); |
238 char *gstrdup(const char *str); | 239 char *gstrdup(const char *str); |
239 void *gtkSet(int cmd, float fparam, void *vparam); | 240 void *gtkSet(int cmd, float fparam, void *vparam); |
240 void guiDone(void); | 241 void guiDone(void); |
241 void guiEventHandling(void); | 242 void guiEventHandling(void); |
242 void guiExit(int how); | 243 void guiExit(enum exit_reason how); |
243 int guiGetEvent(int type, void *arg); | 244 int guiGetEvent(int type, void *arg); |
244 void guiInit(void); | 245 void guiInit(void); |
245 void guiLoadFont(void); | 246 void guiLoadFont(void); |
246 void guiLoadSubtitle(char *name); | 247 void guiLoadSubtitle(char *name); |
247 int import_initial_playtree_into_gui(play_tree_t *my_playtree, m_config_t *config, int enqueue); | 248 int import_initial_playtree_into_gui(play_tree_t *my_playtree, m_config_t *config, int enqueue); |