annotate gui/app/gui.h @ 35672:144d3a71db7d

Cosmetic: Relocate some functions. This groups functions that belong together.
author ib
date Thu, 17 Jan 2013 16:49:26 +0000
parents e27855a45128
children 9e2183017f1f
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
35429
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
1 /*
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
2 * This file is part of MPlayer.
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
3 *
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
7 * (at your option) any later version.
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
8 *
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
12 * GNU General Public License for more details.
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
13 *
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
14 * You should have received a copy of the GNU General Public License along
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
17 */
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
18
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
19 /**
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
20 * @file
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
21 * @brief Internal declarations and definitions
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
22 */
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
23
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
24 #ifndef MPLAYER_GUI_GUI_H
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
25 #define MPLAYER_GUI_GUI_H
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
26
35493
411875efca3f Introduce boolean symbolic constants.
ib
parents: 35429
diff changeset
27 //@{
411875efca3f Introduce boolean symbolic constants.
ib
parents: 35429
diff changeset
28 /// boolean symbolic constant
411875efca3f Introduce boolean symbolic constants.
ib
parents: 35429
diff changeset
29 #if !defined(True) && !defined(False)
411875efca3f Introduce boolean symbolic constants.
ib
parents: 35429
diff changeset
30 #define True 1
411875efca3f Introduce boolean symbolic constants.
ib
parents: 35429
diff changeset
31 #define False 0
411875efca3f Introduce boolean symbolic constants.
ib
parents: 35429
diff changeset
32 #endif
411875efca3f Introduce boolean symbolic constants.
ib
parents: 35429
diff changeset
33 //@}
411875efca3f Introduce boolean symbolic constants.
ib
parents: 35429
diff changeset
34
35429
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
35 /// a pseudo stream type indicating not to change the current one
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
36 #define SAME_STREAMTYPE (STREAMTYPE_DUMMY - 1)
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
37
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
38 /// StreamTypes that are permitted in a playlist
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
39 #define isPlaylistStreamtype (guiInfo.StreamType == STREAMTYPE_FILE || guiInfo.StreamType == STREAMTYPE_STREAM)
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
40
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
41 #endif /* MPLAYER_GUI_GUI_H */