annotate gui/interface.h @ 32067:548499b3f354

Move codecname extern variable declaration to gui.h, which is better suited.
author diego
date Sat, 11 Sep 2010 12:17:11 +0000
parents 4d6bb9606833
children 9e627a1793b1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26458
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
1 /*
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
2 * This file is part of MPlayer.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
3 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
4 * MPlayer is free software; you can redistribute it and/or modify
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
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: 26382
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
7 * (at your option) any later version.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
8 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
9 * MPlayer is distributed in the hope that it will be useful,
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
12 * GNU General Public License for more details.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
13 *
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
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: 26382
diff changeset
15 * with MPlayer; if not, write to the Free Software Foundation, Inc.,
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
17 */
b0a7b35b78d2 Add standard GPL header to individual files.
diego
parents: 26382
diff changeset
18
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25607
diff changeset
19 #ifndef MPLAYER_GUI_INTERFACE_H
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25607
diff changeset
20 #define MPLAYER_GUI_INTERFACE_H
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
21
26382
b2f4abcf20ed Make include paths consistent; do not use ../ in them.
diego
parents: 26029
diff changeset
22 #include "config.h"
30533
e3e329bc727a Avoid forward declarations for import_initial_playtree_into_gui() and
diego
parents: 29263
diff changeset
23 #include "m_config.h"
e3e329bc727a Avoid forward declarations for import_initial_playtree_into_gui() and
diego
parents: 29263
diff changeset
24 #include "playtree.h"
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
25 #include "mplayer/play.h"
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
26 #include "libvo/font_load.h"
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
27 #include "cfg.h"
29149
8c3fbc5bf67d Remove pointless #ifdef around internal #include.
diego
parents: 28051
diff changeset
28 #include "stream/stream.h"
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
29
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
30 typedef struct
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
31 {
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
32 int x;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
33 int y;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
34 int width;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
35 int height;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
36 } guiResizeStruct;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
37
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
38 typedef struct
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
39 {
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
40 int signal;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
41 char module[512];
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
42 } guiUnknownErrorStruct;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
43
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
44 typedef struct
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
45 {
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
46 int seek;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
47 int format;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
48 int width;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
49 int height;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
50 char codecdll[128];
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
51 } guiVideoStruct;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
52
27341
e7c989f7a7c9 Start unifying names of internal preprocessor directives.
diego
parents: 26458
diff changeset
53 #ifdef CONFIG_DVDREAD
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
54 typedef struct
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
55 {
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
56 int titles;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
57 int chapters;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
58 int angles;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
59 int current_chapter;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
60 int current_title;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
61 int current_angle;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
62 int nr_of_audio_channels;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
63 stream_language_t audio_streams[32];
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
64 int nr_of_subtitles;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
65 stream_language_t subtitles[32];
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
66 } guiDVDStruct;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
67 #endif
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
68
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
69 typedef struct
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
70 {
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
71 int message;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
72 guiResizeStruct resize;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
73 guiVideoStruct videodata;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
74 guiUnknownErrorStruct error;
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 29149
diff changeset
75
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
76 struct MPContext * mpcontext;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
77 void * sh_video;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
78 void * afilter;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
79 void * demuxer;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
80 void * event_struct;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
81
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
82 int DiskChanged;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
83 int NewPlay;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
84
27341
e7c989f7a7c9 Start unifying names of internal preprocessor directives.
diego
parents: 26458
diff changeset
85 #ifdef CONFIG_DVDREAD
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
86 guiDVDStruct DVD;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
87 int Title;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
88 int Angle;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
89 int Chapter;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
90 #endif
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
91
27370
14c5017f40d2 Change a bunch of video/audio-output-specific preprocessor directives from
diego
parents: 27341
diff changeset
92 #ifdef CONFIG_VCD
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
93 int VCDTracks;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
94 #endif
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
95
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
96 int Playing;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
97 float Position;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
98
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
99 int MovieWidth;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
100 int MovieHeight;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
101 int NoWindow;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
102
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
103 float Volume;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
104 float Balance;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
105
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
106 int Track;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
107 int AudioType;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
108 int StreamType;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
109 int AudioOnly;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
110 int TimeSec;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
111 int LengthInSec;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
112 int FrameDrop;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
113 int FileFormat;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
114 float FPS;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
115
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
116 char * Filename;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
117 int FilenameChanged;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
118
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
119 char * Subtitlename;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
120 int SubtitleChanged;
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 29149
diff changeset
121
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
122 char * Othername;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
123 int OtherChanged;
29263
0f1b5b68af32 whitespace cosmetics: Remove all trailing whitespace.
diego
parents: 29149
diff changeset
124
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
125 char * AudioFile;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
126 int AudioFileChanged;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
127
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
128 int SkinChange;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
129 } guiInterface_t;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
130
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
131 extern guiInterface_t guiIntfStruct;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
132
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
133 #define guiXEvent 0
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
134 #define guiCEvent 1
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
135 #define guiIEvent 2
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
136 #define guiSetDVD 3
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
137 #define guiSetFileName 4
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
138 #define guiSetState 5
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
139 #define guiSetAudioOnly 6
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
140 #define guiReDrawSubWindow 7
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
141 #define guiSetShVideo 8
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
142 #define guiSetStream 9
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
143 #define guiReDraw 10
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
144 #define guiSetVolume 11
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
145 #define guiSetDefaults 12
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
146 #define guiSetValues 13
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
147 #define guiSetFileFormat 14
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
148 #define guiSetDemuxer 15
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
149 #define guiSetParameters 16
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
150 #define guiSetAfilter 17
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
151 #define guiSetContext 18
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
152
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
153 #define guiSetStop 0
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
154 #define guiSetPlay 1
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
155 #define guiSetPause 2
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
156
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
157 #define guiDVD 1
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
158 #define guiVCD 2
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
159 #define guiFilenames 4
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
160 #define guiALL 0xffffffff
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
161
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
162 extern int use_gui;
31387
da9665eeb5b5 Add extern declaration for guiWinID variable.
diego
parents: 30689
diff changeset
163 extern int guiWinID;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
164
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 27370
diff changeset
165 void guiInit( void );
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 27370
diff changeset
166 void guiDone( void );
30689
ebe42a93c6c3 Fix silly type of guiGetEvent argument to use void * instead of char * and
reimar
parents: 30533
diff changeset
167 int guiGetEvent( int type,void * arg );
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 27370
diff changeset
168 void guiEventHandling( void );
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 27370
diff changeset
169 void guiLoadFont( void );
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 27370
diff changeset
170 void guiLoadSubtitle( char * name );
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 27370
diff changeset
171 void guiMessageBox(int level, char * str);
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
172
25607
9d0b189ce1b2 Fix illegal identifiers: Names starting with __ or _ and uppercase are reserved
diego
parents: 25535
diff changeset
173 typedef struct plItem
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
174 {
25607
9d0b189ce1b2 Fix illegal identifiers: Names starting with __ or _ and uppercase are reserved
diego
parents: 25535
diff changeset
175 struct plItem * prev,* next;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
176 int played;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
177 char * path;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
178 char * name;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
179 } plItem;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
180
25607
9d0b189ce1b2 Fix illegal identifiers: Names starting with __ or _ and uppercase are reserved
diego
parents: 25535
diff changeset
181 typedef struct urlItem
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
182 {
25607
9d0b189ce1b2 Fix illegal identifiers: Names starting with __ or _ and uppercase are reserved
diego
parents: 25535
diff changeset
183 struct urlItem *next;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
184 char * url;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
185 } URLItem;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
186
31397
4d6bb9606833 Remove includes that break building if X11 is not available.
reimar
parents: 31387
diff changeset
187 extern char * skinName;
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
188 extern plItem * plList;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
189 extern plItem * plCurrent;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
190 extern plItem * plLastPlayed;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
191
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
192 extern URLItem * URLList;
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
193
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
194 #define fsPersistant_MaxPath 512
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
195 #define fsPersistant_MaxPos 5
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
196 extern char * fsHistory[fsPersistant_MaxPos];
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
197
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
198 #define gtkSetContrast 0
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
199 #define gtkSetBrightness 1
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
200 #define gtkSetHue 2
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
201 #define gtkSetSaturation 3
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
202 #define gtkSetEqualizer 4
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
203 #define gtkAddPlItem 5
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
204 #define gtkGetNextPlItem 6
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
205 #define gtkGetPrevPlItem 7
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
206 #define gtkGetCurrPlItem 8
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
207 #define gtkDelPl 9
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
208 #define gtkSetExtraStereo 10
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
209 #define gtkSetPanscan 11
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
210 #define gtkSetFontFactor 12
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
211 #define gtkSetAutoq 13
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
212 #define gtkClearStruct 14
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
213 #define gtkAddURLItem 15
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
214 #define gtkSetFontOutLine 16
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
215 #define gtkSetFontBlur 17
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
216 #define gtkSetFontTextScale 18
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
217 #define gtkSetFontOSDScale 19
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
218 #define gtkSetFontEncoding 20
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
219 #define gtkSetFontAutoScale 21
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
220 #define gtkSetSubEncoding 22
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
221 #define gtkDelCurrPlItem 23
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
222 #define gtkInsertPlItem 24
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
223 #define gtkSetCurrPlItem 25
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
224
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
225 extern float gtkEquChannels[6][10];
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
226
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 27370
diff changeset
227 void * gtkSet( int cmd, float param, void * vparam );
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
228
28051
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 27370
diff changeset
229 char * gstrdup( const char * str );
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 27370
diff changeset
230 int gstrcmp( const char * a, const char * b );
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 27370
diff changeset
231 void gfree( void ** p );
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 27370
diff changeset
232 void gaddlist( char *** list, const char * entry );
9e739bdb049c Get rid of pointless 'extern' keywords.
diego
parents: 27370
diff changeset
233 char * gstrchr( char * str, int c );
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
234
30533
e3e329bc727a Avoid forward declarations for import_initial_playtree_into_gui() and
diego
parents: 29263
diff changeset
235 int import_initial_playtree_into_gui(play_tree_t* my_playtree,
e3e329bc727a Avoid forward declarations for import_initial_playtree_into_gui() and
diego
parents: 29263
diff changeset
236 m_config_t* config, int enqueue);
e3e329bc727a Avoid forward declarations for import_initial_playtree_into_gui() and
diego
parents: 29263
diff changeset
237 int import_playtree_playlist_into_gui(play_tree_t* my_playtree,
e3e329bc727a Avoid forward declarations for import_initial_playtree_into_gui() and
diego
parents: 29263
diff changeset
238 m_config_t* config);
e3e329bc727a Avoid forward declarations for import_initial_playtree_into_gui() and
diego
parents: 29263
diff changeset
239
23077
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
240 #define guiSetFilename( s,n ) { gfree( (void **)&s ); s=gstrdup( n ); }
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
241
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
242 #define guiSetDF( s,d,n ) \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
243 { \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
244 gfree( (void **)&s ); \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
245 s=malloc( strlen( d ) + strlen( n ) + 5 ); \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
246 sprintf( s,"%s/%s",d,n ); \
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
247 }
17bf4f4b0715 Gui --> gui
diego
parents:
diff changeset
248
26029
4129c8cfa742 Add MPLAYER_ prefix to multiple inclusion guards.
diego
parents: 25607
diff changeset
249 #endif /* MPLAYER_GUI_INTERFACE_H */