[MPlayer-cvslog] r23141 - in trunk/gui/win32: gui.h interface.c preferences.c wincfg.c

vayne subversion at mplayerhq.hu
Thu Apr 26 19:30:20 CEST 2007


Author: vayne
Date: Thu Apr 26 19:30:20 2007
New Revision: 23141

Log:
header / declarations cleanup, also fixes broken compilation.

Modified:
   trunk/gui/win32/gui.h
   trunk/gui/win32/interface.c
   trunk/gui/win32/preferences.c
   trunk/gui/win32/wincfg.c

Modified: trunk/gui/win32/gui.h
==============================================================================
--- trunk/gui/win32/gui.h	(original)
+++ trunk/gui/win32/gui.h	Thu Apr 26 19:30:20 2007
@@ -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"

Modified: trunk/gui/win32/interface.c
==============================================================================
--- trunk/gui/win32/interface.c	(original)
+++ trunk/gui/win32/interface.c	Thu Apr 26 19:30:20 2007
@@ -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;
 

Modified: trunk/gui/win32/preferences.c
==============================================================================
--- trunk/gui/win32/preferences.c	(original)
+++ trunk/gui/win32/preferences.c	Thu Apr 26 19:30:20 2007
@@ -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);

Modified: trunk/gui/win32/wincfg.c
==============================================================================
--- trunk/gui/win32/wincfg.c	(original)
+++ trunk/gui/win32/wincfg.c	Thu Apr 26 19:30:20 2007
@@ -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"



More information about the MPlayer-cvslog mailing list