changeset 23123:21e29d5932c5

header / declarations cleanup, also fixes broken compilation.
author vayne
date Thu, 26 Apr 2007 17:30:20 +0000
parents 8e52146c056f
children 408e7e8d7121
files gui/win32/gui.h gui/win32/interface.c gui/win32/preferences.c gui/win32/wincfg.c
diffstat 4 files changed, 2 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/gui/win32/gui.h	Thu Apr 26 15:14:12 2007 +0000
+++ b/gui/win32/gui.h	Thu Apr 26 17:30:20 2007 +0000
@@ -24,6 +24,7 @@
 #ifndef _GUI_H
 #define _GUI_H
 #include "config.h"
+#include "mplayer.h"
 #include "playtree.h"
 #include "m_config.h"
 #include "skinload.h"
--- a/gui/win32/interface.c	Thu Apr 26 15:14:12 2007 +0000
+++ b/gui/win32/interface.c	Thu Apr 26 17:30:20 2007 +0000
@@ -46,20 +46,9 @@
 #include <cdio/cdio.h>
 #endif
 
-extern m_obj_settings_t *vf_settings;
-extern void exit_player(const char *how);
-extern char *filename;
 extern int abs_seek_pos;
 extern float rel_seek_secs;
-extern int audio_id;
-extern int video_id;
-extern int dvdsub_id;
-extern int vobsub_id;
-extern int stream_cache_size;
-extern int autosync;
 extern int vcd_track;
-extern int dvd_title;
-extern float force_fps;
 extern af_cfg_t af_cfg;
 int guiWinID = 0;
 
--- a/gui/win32/preferences.c	Thu Apr 26 15:14:12 2007 +0000
+++ b/gui/win32/preferences.c	Thu Apr 26 17:30:20 2007 +0000
@@ -37,13 +37,6 @@
 #include "dialogs.h"
 #include "wincfg.h"
 
-extern int   vo_doublebuffering;
-extern int   vo_directrendering;
-extern int   frame_dropping;
-extern int   soft_vol;
-extern float audio_delay;
-extern int   osd_level;
-extern char  *dvd_device, *cdrom_device;
 extern char  *proc_priority;
 
 static void set_defaults(void);
--- a/gui/win32/wincfg.c	Thu Apr 26 15:14:12 2007 +0000
+++ b/gui/win32/wincfg.c	Thu Apr 26 17:30:20 2007 +0000
@@ -24,6 +24,7 @@
 #include <stdlib.h>
 #include <string.h>
 
+#include "mplayer.h"
 #include "mp_msg.h"
 #include "help_mp.h"
 #include "m_config.h"