annotate gui/gui.h @ 35453:c8f3bba6250a

Add an uiSetFile() counterpart. Unset the file being played and clear all guiInfo information associated with the file.
author ib
date Sat, 01 Dec 2012 19:08:53 +0000
parents 3a9048421524
children 411875efca3f
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
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
27 /// a pseudo stream type indicating not to change the current one
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
28 #define SAME_STREAMTYPE (STREAMTYPE_DUMMY - 1)
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
29
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
30 /// StreamTypes that are permitted in a playlist
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
31 #define isPlaylistStreamtype (guiInfo.StreamType == STREAMTYPE_FILE || guiInfo.StreamType == STREAMTYPE_STREAM)
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
32
3a9048421524 Create new header file gui.h.
ib
parents:
diff changeset
33 #endif /* MPLAYER_GUI_GUI_H */