Mercurial > mplayer.hg
comparison gui/interface.h @ 33696:24d919fb6778
Don't let MPlayer directly call user interface functions.
Provide the necessary actions for MPlayer commands by guiGetEvent type
guiRunCommand instead. That way, access is possible through the official
interface function.
author | ib |
---|---|
date | Wed, 29 Jun 2011 15:22:22 +0000 |
parents | 60093217cb01 |
children | c919fb3d2531 |
comparison
equal
deleted
inserted
replaced
33695:60093217cb01 | 33696:24d919fb6778 |
---|---|
27 | 27 |
28 // 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 |
29 // 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. |
30 // ------------------------------------------------------------ | 30 // ------------------------------------------------------------ |
31 #include "cfg.h" | 31 #include "cfg.h" |
32 #include "ui/actions.h" | |
33 | 32 |
34 extern int use_gui; // this is defined in mplayer.c | 33 extern int use_gui; // this is defined in mplayer.c |
35 // ------------------------------------------------------------ | 34 // ------------------------------------------------------------ |
36 | 35 |
37 #define GMPlayer "gmplayer" | 36 #define GMPlayer "gmplayer" |