cleanup: #include loader/wine/winbase.h instead of local declarations

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31414 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2010-06-14 14:35:57 +00:00 committed by Uoti Urpala
parent 8177dc6d45
commit a7bc7d8e63
4 changed files with 5 additions and 14 deletions

View File

@ -30,6 +30,7 @@
#include <QuickTime/QuickTimeComponents.h>
#else
#include "loader/ldt_keeper.h"
#include "loader/wine/winbase.h"
#include "loader/wine/windef.h"
#endif
@ -95,10 +96,6 @@ static LPFUNC9 SoundConverterBeginConversion;
#define siDecompressionParams 2002876005 // siDecompressionParams = FOUR_CHAR_CODE('wave')
HMODULE WINAPI LoadLibraryA(LPCSTR);
FARPROC WINAPI GetProcAddress(HMODULE,LPCSTR);
int WINAPI FreeLibrary(HMODULE);
static int loader_init(void)
{

View File

@ -31,6 +31,7 @@
#else
#include "loader/ldt_keeper.h"
#include "loader/qtx/qtxsdk/components.h"
#include "loader/wine/winbase.h"
#include "loader/wine/windef.h"
#endif
@ -52,9 +53,6 @@ static ImageDescriptionHandle framedescHandle;
static ImageSequence imageSeq;
#ifndef CONFIG_QUICKTIME
HMODULE WINAPI LoadLibraryA(LPCSTR);
FARPROC WINAPI GetProcAddress(HMODULE,LPCSTR);
int WINAPI FreeLibrary(HMODULE);
static HINSTANCE qtime_qts; // handle to the preloaded quicktime.qts
static HMODULE handler;
static OSErr (*InitializeQTML)(long flags);

View File

@ -35,6 +35,7 @@
#endif
#include "loader/qtx/qtxsdk/components.h"
#include "loader/wine/winbase.h"
#include "loader/wine/windef.h"
#include "codec-cfg.h"
@ -49,9 +50,7 @@
#include "mp_image.h"
#include "vf.h"
HMODULE WINAPI LoadLibraryA(LPCSTR);
FARPROC WINAPI GetProcAddress(HMODULE,LPCSTR);
int WINAPI FreeLibrary(HMODULE);
static HINSTANCE qtime_qts; //handle to preloaded quicktime.qts
static HMODULE handler;

View File

@ -32,6 +32,7 @@
#include "stheader.h"
#include "libvo/fastmemcpy.h"
#include "loader/wine/winbase.h"
#include "loader/wine/windef.h"
#ifdef WIN32_LOADER
@ -42,10 +43,6 @@
#define MAX_AVS_SIZE 16 * 1024 /* 16k should be enough */
HMODULE WINAPI LoadLibraryA(LPCSTR);
FARPROC WINAPI GetProcAddress(HMODULE,LPCSTR);
int WINAPI FreeLibrary(HMODULE);
typedef WINAPI AVS_ScriptEnvironment* (*imp_avs_create_script_environment)(int version);
typedef WINAPI AVS_Value (*imp_avs_invoke)(AVS_ScriptEnvironment *, const char * name, AVS_Value args, const char** arg_names);
typedef WINAPI const AVS_VideoInfo *(*imp_avs_get_video_info)(AVS_Clip *);