Mercurial > mplayer.hg
annotate gui/ui/actions.h @ 34399:f2c03009068d
Don't explicitly set stream type if the type doesn't change.
Use a self-explanatory symbolic constant which makes the code
more easily understandable.
author | ib |
---|---|
date | Mon, 02 Jan 2012 15:16:55 +0000 |
parents | 24d919fb6778 |
children | 8249c2131cd3 |
rev | line source |
---|---|
26458 | 1 /* |
2 * This file is part of MPlayer. | |
3 * | |
4 * MPlayer is free software; you can redistribute it and/or modify | |
5 * it under the terms of the GNU General Public License as published by | |
6 * the Free Software Foundation; either version 2 of the License, or | |
7 * (at your option) any later version. | |
8 * | |
9 * MPlayer is distributed in the hope that it will be useful, | |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
12 * GNU General Public License for more details. | |
13 * | |
14 * You should have received a copy of the GNU General Public License along | |
15 * with MPlayer; if not, write to the Free Software Foundation, Inc., | |
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | |
17 */ | |
18 | |
33563 | 19 #ifndef MPLAYER_GUI_ACTIONS_H |
20 #define MPLAYER_GUI_ACTIONS_H | |
23077 | 21 |
34399
f2c03009068d
Don't explicitly set stream type if the type doesn't change.
ib
parents:
33696
diff
changeset
|
22 #include "stream/stream.h" |
f2c03009068d
Don't explicitly set stream type if the type doesn't change.
ib
parents:
33696
diff
changeset
|
23 |
f2c03009068d
Don't explicitly set stream type if the type doesn't change.
ib
parents:
33696
diff
changeset
|
24 #define SAME_STREAMTYPE (STREAMTYPE_DUMMY - 1) |
f2c03009068d
Don't explicitly set stream type if the type doesn't change.
ib
parents:
33696
diff
changeset
|
25 |
33555 | 26 extern int uiGotoTheNext; |
23077 | 27 |
33555 | 28 void uiAbsSeek(float sec); |
29 void uiChangeSkin(char *name); | |
30 void uiCurr(void); | |
31 void uiFullScreen(void); | |
32 void uiNext(void); | |
33 void uiPause(void); | |
34 void uiPlay(void); | |
35 void uiPrev(void); | |
36 void uiRelSeek(float percent); | |
37 void uiSetFileName(char *dir, char *name, int type); | |
38 void uiState(void); | |
23077 | 39 |
33563 | 40 #endif /* MPLAYER_GUI_ACTIONS_H */ |