Commit 14fb1ddc authored by Alexandre Julliard's avatar Alexandre Julliard

user: Only include winproc.h where necessary.

parent 7b83af4b
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
#define __WINE_CONTROLS_H #define __WINE_CONTROLS_H
#include "winuser.h" #include "winuser.h"
#include "winproc.h" #include "wine/winbase16.h"
/* Built-in class names (see _Undocumented_Windows_ p.418) */ /* Built-in class names (see _Undocumented_Windows_ p.418) */
#define POPUPMENU_CLASS_ATOMA MAKEINTATOMA(32768) /* PopupMenu */ #define POPUPMENU_CLASS_ATOMA MAKEINTATOMA(32768) /* PopupMenu */
...@@ -45,6 +45,12 @@ struct builtin_class_descr ...@@ -45,6 +45,12 @@ struct builtin_class_descr
HBRUSH brush; /* brush or system color */ HBRUSH brush; /* brush or system color */
}; };
/* Class functions */
struct tagCLASS; /* opaque structure */
struct tagWND;
extern void CLASS_RegisterBuiltinClasses(void);
extern void CLASS_AddWindow( struct tagCLASS *class, struct tagWND *win, BOOL unicode );
extern void CLASS_FreeModuleClasses( HMODULE16 hModule );
/* defwnd proc */ /* defwnd proc */
extern HBRUSH DEFWND_ControlColor( HDC hDC, UINT ctlType ); extern HBRUSH DEFWND_ControlColor( HDC hDC, UINT ctlType );
......
...@@ -30,7 +30,7 @@ ...@@ -30,7 +30,7 @@
#include "wownt32.h" #include "wownt32.h"
#include "user_private.h" #include "user_private.h"
#include "win.h" #include "win.h"
#include "winproc.h" #include "controls.h"
#include "wine/debug.h" #include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(user); WINE_DEFAULT_DEBUG_CHANNEL(user);
......
...@@ -33,6 +33,7 @@ ...@@ -33,6 +33,7 @@
#include "wine/server.h" #include "wine/server.h"
#include "wine/unicode.h" #include "wine/unicode.h"
#include "win.h" #include "win.h"
#include "winproc.h"
#include "user_private.h" #include "user_private.h"
#include "controls.h" #include "controls.h"
#include "winpos.h" #include "winpos.h"
......
...@@ -49,11 +49,4 @@ extern INT_PTR WINPROC_CallDlgProc16( DLGPROC16 func, HWND16 hwnd, UINT16 msg, W ...@@ -49,11 +49,4 @@ extern INT_PTR WINPROC_CallDlgProc16( DLGPROC16 func, HWND16 hwnd, UINT16 msg, W
extern INT_PTR WINPROC_CallDlgProcA( DLGPROC func, HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam ); extern INT_PTR WINPROC_CallDlgProcA( DLGPROC func, HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam );
extern INT_PTR WINPROC_CallDlgProcW( DLGPROC func, HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam ); extern INT_PTR WINPROC_CallDlgProcW( DLGPROC func, HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam );
/* Class functions */
struct tagCLASS; /* opaque structure */
struct tagWND;
extern void CLASS_RegisterBuiltinClasses(void);
extern void CLASS_AddWindow( struct tagCLASS *class, struct tagWND *win, BOOL unicode );
extern void CLASS_FreeModuleClasses( HMODULE16 hModule );
#endif /* __WINE_WINPROC_H */ #endif /* __WINE_WINPROC_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment