annotate gui/cfg.h @ 33913:8f81a826c86e

Remove senseless seek.
author reimar
date Thu, 18 Aug 2011 19:19:58 +0000
parents c28c967e40e9
children f744357e94bd
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
62c0471bcf8c Free config.
ib
parents: 33250
diff changeset
25 extern m_config_t *gui_conf;
62c0471bcf8c Free config.
ib
parents: 33250
diff changeset
26
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
27 extern int gtkCacheOn;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
28 extern int gtkCacheSize;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
29
33249
8fc02babf810 Limit config option vf_lavc to dxr3.
ib
parents: 33222
diff changeset
30 extern int gtkVfPP;
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
31 extern int gtkVfLAVC;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
32
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
33 extern char *gtkDXR3Device;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
34
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
35 extern int gtkAutoSyncOn;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
36 extern int gtkAutoSync;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
37
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
38 extern int gtkAONorm;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
39 extern int gtkAOSurround;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
40 extern int gtkAOExtraStereo;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
41 extern float gtkAOExtraStereoMul;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
42
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
43 extern char *gtkAOALSAMixer;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
44 extern char *gtkAOALSAMixerChannel;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
45 extern char *gtkAOALSADevice;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
46
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
47 extern char *gtkAOOSSMixer;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
48 extern char *gtkAOOSSMixerChannel;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
49 extern char *gtkAOOSSDevice;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
50
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
51 extern char *gtkAOESDDevice;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
52
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
53 extern char *gtkAOSDLDriver;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
54
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
55 extern int gtkEnableAudioEqualizer;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
56 extern char *gtkEquChannel1;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
57 extern char *gtkEquChannel2;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
58 extern char *gtkEquChannel3;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
59 extern char *gtkEquChannel4;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
60 extern char *gtkEquChannel5;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
61 extern char *gtkEquChannel6;
33747
e5959dcf8fe6 Remove config related variables from interface.[ch].
ib
parents: 33565
diff changeset
62 extern float gtkEquChannels[6][10];
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
63
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
64 extern int gtkSubDumpMPSub;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
65 extern int gtkSubDumpSrt;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
66
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
67 typedef struct {
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
68 int enabled;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
69 int use_margins;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
70 int top_margin;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
71 int bottom_margin;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
72 } gtkASS_t;
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
73
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
74 extern gtkASS_t gtkASS;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
75
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
76 extern int gtkEnablePlayBar;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
77 extern int gtkLoadFullscreen;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
78 extern int gtkShowVideoWindow;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
79
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
80 extern int gui_save_pos;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
81 extern int gui_main_pos_x;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
82 extern int gui_main_pos_y;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
83 extern int gui_sub_pos_x;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
84 extern int gui_sub_pos_y;
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
85
33747
e5959dcf8fe6 Remove config related variables from interface.[ch].
ib
parents: 33565
diff changeset
86 extern int guiWinID;
e5959dcf8fe6 Remove config related variables from interface.[ch].
ib
parents: 33565
diff changeset
87
e5959dcf8fe6 Remove config related variables from interface.[ch].
ib
parents: 33565
diff changeset
88 extern char *skinName;
e5959dcf8fe6 Remove config related variables from interface.[ch].
ib
parents: 33565
diff changeset
89
33751
c28c967e40e9 Replace numeric constant fsPersistant_MaxPos for fsHistory array size.
ib
parents: 33750
diff changeset
90 extern char *fsHistory[5];
33750
8b5898908212 Remove variable holding history of selected files from interface.[ch].
ib
parents: 33747
diff changeset
91
33565
9c4163ef54e4 Add const to string pointer argument that will not be modified.
reimar
parents: 33470
diff changeset
92 int cfg_gui_include(m_option_t *conf, const char *filename);
33179
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
93 int cfg_read(void);
218edd8fc782 Cosmetic: Format to MPlayer coding style.
ib
parents: 30162
diff changeset
94 int cfg_write(void);
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
95
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 26007
diff changeset
96 #endif /* MPLAYER_GUI_CFG_H */