Removed extra includes from ole.h and wingdi.h.

This commit is contained in:
Alexandre Julliard 2000-02-10 19:39:48 +00:00
parent d3e22d9d55
commit fc296da4e2
20 changed files with 48 additions and 30 deletions

View file

@ -35,6 +35,8 @@
#include <time.h> #include <time.h>
#include <assert.h> #include <assert.h>
#include "windef.h" #include "windef.h"
#include "wtypes.h"
#include "wingdi.h"
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "winerror.h" #include "winerror.h"
#include "wownt32.h" #include "wownt32.h"

View file

@ -31,14 +31,15 @@
* was stored but that's about it. * was stored but that's about it.
*/ */
#include <assert.h> #include <assert.h>
#include "wingdi.h" #include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "wingdi.h"
#include "winerror.h" #include "winerror.h"
#include "wine/obj_oleview.h" #include "wine/obj_oleview.h"
#include "wine/obj_cache.h" #include "wine/obj_cache.h"
#include "debugtools.h" #include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(ole) DEFAULT_DEBUG_CHANNEL(ole);
/**************************************************************************** /****************************************************************************
* PresentationDataHeader * PresentationDataHeader

View file

@ -10,10 +10,14 @@
#include <assert.h> #include <assert.h>
#include <time.h> #include <time.h>
#include <string.h> #include <string.h>
#include <sys/types.h>
#include <unistd.h>
#include "windef.h" #include "windef.h"
#include "winerror.h" #include "winerror.h"
#include "wine/winestring.h" #include "wine/winestring.h"
#include "wine/winbase16.h" #include "wine/winbase16.h"
#include "wingdi.h"
#include "wtypes.h"
#include "file.h" #include "file.h"
#include "ole.h" #include "ole.h"
#include "wine/obj_base.h" #include "wine/obj_base.h"
@ -23,8 +27,8 @@
#include "ldt.h" #include "ldt.h"
#include "debugtools.h" #include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(ole) DEFAULT_DEBUG_CHANNEL(ole);
DECLARE_DEBUG_CHANNEL(relay) DECLARE_DEBUG_CHANNEL(relay);
struct storage_header { struct storage_header {
BYTE magic[8]; /* 00: magic */ BYTE magic[8]; /* 00: magic */

View file

@ -22,6 +22,16 @@
#include "config.h" #include "config.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <time.h>
#ifdef HAVE_FLOAT_H
# include <float.h>
#endif
#include "windef.h" #include "windef.h"
#include "oleauto.h" #include "oleauto.h"
#include "heap.h" #include "heap.h"
@ -29,16 +39,7 @@
#include "winerror.h" #include "winerror.h"
#include "parsedt.h" #include "parsedt.h"
DEFAULT_DEBUG_CHANNEL(ole) DEFAULT_DEBUG_CHANNEL(ole);
#include <string.h>
#include <stdlib.h>
#include <math.h>
#include <time.h>
#ifdef HAVE_FLOAT_H
# include <float.h>
#endif
#ifndef FLT_MAX #ifndef FLT_MAX
# ifdef MAXFLOAT # ifdef MAXFLOAT

View file

@ -6,11 +6,14 @@
/* At the moment, these are only empty stubs. /* At the moment, these are only empty stubs.
*/ */
#include "windef.h"
#include "wingdi.h"
#include "wtypes.h"
#include "ole.h" #include "ole.h"
#include "gdi.h" #include "gdi.h"
#include "debugtools.h" #include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(ole) DEFAULT_DEBUG_CHANNEL(ole);
extern LONG OLE_current_handle; extern LONG OLE_current_handle;

View file

@ -7,10 +7,13 @@
/* At the moment, these are only empty stubs. /* At the moment, these are only empty stubs.
*/ */
#include "windef.h"
#include "wingdi.h"
#include "wtypes.h"
#include "ole.h" #include "ole.h"
#include "debugtools.h" #include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(ole) DEFAULT_DEBUG_CHANNEL(ole);
LONG OLE_current_handle; LONG OLE_current_handle;

View file

@ -6,6 +6,7 @@
* *
*/ */
#include "windef.h"
#include "wingdi.h" #include "wingdi.h"
#include "cache.h" #include "cache.h"

View file

@ -5,6 +5,7 @@
*/ */
#include <string.h> #include <string.h>
#include "windef.h"
#include "wingdi.h" #include "wingdi.h"
#include "gdi.h" #include "gdi.h"
#include "heap.h" #include "heap.h"
@ -12,7 +13,7 @@
#include "dc.h" #include "dc.h"
#include "debugtools.h" #include "debugtools.h"
DEFAULT_DEBUG_CHANNEL(driver) DEFAULT_DEBUG_CHANNEL(driver);
/*********************************************************************** /***********************************************************************
* Escape16 [GDI.38] * Escape16 [GDI.38]

View file

@ -6,13 +6,14 @@
#include "config.h" #include "config.h"
#include "wine/wingdi16.h" #include "windef.h"
#include "wingdi.h"
#include "dc.h" #include "dc.h"
#include "debugtools.h" #include "debugtools.h"
#include "gdi.h" #include "gdi.h"
#include "ttydrv.h" #include "ttydrv.h"
DEFAULT_DEBUG_CHANNEL(ttydrv) DEFAULT_DEBUG_CHANNEL(ttydrv);
/*********************************************************************** /***********************************************************************
* TTYDRV_DC_ExtTextOut * TTYDRV_DC_ExtTextOut

View file

@ -1,6 +1,7 @@
#ifndef __WINE_COLOR_H #ifndef __WINE_COLOR_H
#define __WINE_COLOR_H #define __WINE_COLOR_H
#include "windef.h"
#include "wingdi.h" #include "wingdi.h"
#include "palette.h" #include "palette.h"

View file

@ -5,6 +5,7 @@
#ifndef __WINE_ENHMETAFILEDRV_H #ifndef __WINE_ENHMETAFILEDRV_H
#define __WINE_ENHMETAFILEDRV_H #define __WINE_ENHMETAFILEDRV_H
#include "windef.h"
#include "wingdi.h" #include "wingdi.h"
#include "gdi.h" #include "gdi.h"

View file

@ -5,6 +5,7 @@
#ifndef __WINE_METAFILEDRV_H #ifndef __WINE_METAFILEDRV_H
#define __WINE_METAFILEDRV_H #define __WINE_METAFILEDRV_H
#include "windef.h"
#include "wingdi.h" #include "wingdi.h"
#include "gdi.h" #include "gdi.h"

View file

@ -5,15 +5,6 @@
#ifndef __WINE_OLE_H #ifndef __WINE_OLE_H
#define __WINE_OLE_H #define __WINE_OLE_H
#include "wingdi.h" /* LOGPALETTE */
/* FIXME: we need to include wtypes.h mainly, it seems, because we need BSTR.
* Normally none of the APIs in ole.h depend on it. It is most likey that they should
* be moved to ole2.h (which includes objbase.h and thus wtypes.h) or some other
* OLE include
*/
#include "wtypes.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif

View file

@ -6,6 +6,7 @@
* *
* Copyright 1998 Huw D M Davies * Copyright 1998 Huw D M Davies
*/ */
#include "windef.h"
#include "wingdi.h" #include "wingdi.h"
#include "font.h" #include "font.h"
#include "pen.h" #include "pen.h"

View file

@ -5,6 +5,7 @@
#ifndef __WINE_WIN16DRV_H #ifndef __WINE_WIN16DRV_H
#define __WINE_WIN16DRV_H #define __WINE_WIN16DRV_H
#include "windef.h"
#include "wingdi.h" #include "wingdi.h"
#include "gdi.h" #include "gdi.h"

View file

@ -1,8 +1,6 @@
#ifndef __WINE_WINGDI_H #ifndef __WINE_WINGDI_H
#define __WINE_WINGDI_H #define __WINE_WINGDI_H
#include "windef.h"
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif

View file

@ -1,7 +1,9 @@
/* Sample winestub.c file for compiling programs with libwine.so. */ /* Sample winestub.c file for compiling programs with libwine.so. */
#include <string.h> #include <string.h>
#include "windef.h"
#include "winbase.h" #include "winbase.h"
#include "wingdi.h"
#include "winuser.h" #include "winuser.h"
#include "xmalloc.h" #include "xmalloc.h"

View file

@ -7,6 +7,8 @@
* Copyright 2000 Andreas Mohr * Copyright 2000 Andreas Mohr
*/ */
#include "config.h"
#include <errno.h> #include <errno.h>
#include <string.h> #include <string.h>
#include <fcntl.h> #include <fcntl.h>

View file

@ -7,6 +7,8 @@
* (c) 1999 Eric Pouech * (c) 1999 Eric Pouech
*/ */
#include "config.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>
#include <unistd.h> #include <unistd.h>

View file

@ -5,6 +5,7 @@
*/ */
#include <stdlib.h> #include <stdlib.h>
#include "windef.h"
#include "wingdi.h" #include "wingdi.h"
#include "wine/wingdi16.h" #include "wine/wingdi16.h"