annotate gui/app/cfg.h @ 36628:20cf5874f85a

playtreeparser: Remove pointless assignment.
author reimar
date Sat, 25 Jan 2014 16:54:53 +0000
parents 28ea255e40ce
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26458
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
1 /*
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
2 * This file is part of MPlayer.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
3 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
5 * it under the terms of the GNU General Public License as published by
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
7 * (at your option) any later version.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
8 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
12 * GNU General Public License for more details.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
13 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
14 * You should have received a copy of the GNU General Public License along
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
17 */
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26029
diff changeset
18
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 26007
diff changeset
19 #ifndef MPLAYER_GUI_CFG_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 26007
diff changeset
20 #define MPLAYER_GUI_CFG_H
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
21
33265
62c0471bcf8c Free config.
ib
parents: 33250
diff changeset
22 #include "m_config.h"
33470
90e5f5c28304 Add option '-gui-include'.
ib
parents: 33265
diff changeset
23 #include "m_option.h"
33265
62c0471bcf8c Free config.
ib
parents: 33250
diff changeset
24
36429
28ea255e40ce Add support for TV/DVB to the GUI.
ib
parents: 35525
diff changeset
25 typedef struct {
28ea255e40ce Add support for TV/DVB to the GUI.
ib
parents: 35525
diff changeset
26 int StreamType;
28ea255e40ce Add support for TV/DVB to the GUI.
ib
parents: 35525
diff changeset
27 char *SchemeName;
28ea255e40ce Add support for TV/DVB to the GUI.
ib
parents: 35525
diff changeset
28 } guiTV_t;
28ea255e40ce Add support for TV/DVB to the GUI.
ib
parents: 35525
diff changeset
29
28ea255e40ce Add support for TV/DVB to the GUI.
ib
parents: 35525
diff changeset
30 extern guiTV_t guiTV[2];
28ea255e40ce Add support for TV/DVB to the GUI.
ib
parents: 35525
diff changeset
31
33265
62c0471bcf8c Free config.
ib
parents: 33250
diff changeset
32 extern m_config_t *gui_conf;
62c0471bcf8c Free config.
ib
parents: 33250
diff changeset
33
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
34 extern int gtkCacheOn;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
35 extern int gtkCacheSize;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
36
33249
8fc02babf810 Limit config option vf_lavc to dxr3.
ib
parents: 33222
diff changeset
37 extern int gtkVfPP;
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
38 extern int gtkVfLAVC;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
39
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
40 extern char *gtkDXR3Device;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
41
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
42 extern int gtkAutoSyncOn;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
43 extern int gtkAutoSync;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
44
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
45 extern int gtkAONorm;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
46 extern int gtkAOSurround;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
47 extern int gtkAOExtraStereo;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
48 extern float gtkAOExtraStereoMul;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
49
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
50 extern char *gtkAOALSAMixer;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
51 extern char *gtkAOALSAMixerChannel;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
52 extern char *gtkAOALSADevice;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
53
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
54 extern char *gtkAOOSSMixer;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
55 extern char *gtkAOOSSMixerChannel;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
56 extern char *gtkAOOSSDevice;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
57
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
58 extern char *gtkAOESDDevice;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
59
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
60 extern char *gtkAOSDLDriver;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
61
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
62 extern int gtkEnableAudioEqualizer;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
63 extern char *gtkEquChannel1;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
64 extern char *gtkEquChannel2;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
65 extern char *gtkEquChannel3;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
66 extern char *gtkEquChannel4;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
67 extern char *gtkEquChannel5;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
68 extern char *gtkEquChannel6;
33747
e5959dcf8fe6 Remove config related variables from interface.[ch].
ib
parents: 33565
diff changeset
69 extern float gtkEquChannels[6][10];
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
70
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
71 extern int gtkSubDumpMPSub;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
72 extern int gtkSubDumpSrt;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
73
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
74 typedef struct {
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
75 int enabled;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
76 int use_margins;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
77 int top_margin;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
78 int bottom_margin;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
79 } gtkASS_t;
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
80
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
81 extern gtkASS_t gtkASS;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
82
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
83 extern int gtkEnablePlayBar;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
84 extern int gtkLoadFullscreen;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
85 extern int gtkShowVideoWindow;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
86
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
87 extern int gui_save_pos;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
88 extern int gui_main_pos_x;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
89 extern int gui_main_pos_y;
34697
ac6b38cd0d45 Rename sub window video window.
ib
parents: 34561
diff changeset
90 extern int gui_video_pos_x;
ac6b38cd0d45 Rename sub window video window.
ib
parents: 34561
diff changeset
91 extern int gui_video_pos_y;
36429
28ea255e40ce Add support for TV/DVB to the GUI.
ib
parents: 35525
diff changeset
92 extern int gui_tv_digital;
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
93
33747
e5959dcf8fe6 Remove config related variables from interface.[ch].
ib
parents: 33565
diff changeset
94 extern int guiWinID;
e5959dcf8fe6 Remove config related variables from interface.[ch].
ib
parents: 33565
diff changeset
95
e5959dcf8fe6 Remove config related variables from interface.[ch].
ib
parents: 33565
diff changeset
96 extern char *skinName;
e5959dcf8fe6 Remove config related variables from interface.[ch].
ib
parents: 33565
diff changeset
97
33751
c28c967e40e9 Replace numeric constant fsPersistant_MaxPos for fsHistory array size.
ib
parents: 33750
diff changeset
98 extern char *fsHistory[5];
33750
8b5898908212 Remove variable holding history of selected files from interface.[ch].
ib
parents: 33747
diff changeset
99
35521
baf53d200292 Avoid using local variables named filename.
ib
parents: 34697
diff changeset
100 int cfg_gui_include(m_option_t *conf, const char *file);
34561
f744357e94bd Make cfg_read() and cfg_write() void functions.
ib
parents: 33751
diff changeset
101 void cfg_read(void);
f744357e94bd Make cfg_read() and cfg_write() void functions.
ib
parents: 33751
diff changeset
102 void cfg_write(void);
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
103
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 26007
diff changeset
104 #endif /* MPLAYER_GUI_CFG_H */