[HHCTRL.OCX]

* Remove one time mshtmhst.h inclusion from the main header and put it back where it belongs.
* Move resource.h inclusion to the main header.
* Remove redundant winnls.h inclusion.
CORE-7716

svn path=/trunk/; revision=61766
This commit is contained in:
Amine Khaldi 2014-01-23 11:27:43 +00:00
parent 0c66b2f86c
commit f91ac77f24
5 changed files with 6 additions and 10 deletions

View file

@ -19,8 +19,6 @@
#include "hhctrl.h"
#include "resource.h"
typedef enum {
INSERT_NEXT,
INSERT_CHILD

View file

@ -25,8 +25,6 @@
#include <wingdi.h>
#include <wininet.h>
#include "resource.h"
static LRESULT Help_OnSize(HWND hWnd);
static void ExpandContract(HHInfo *pHHInfo);

View file

@ -26,19 +26,16 @@
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#define COBJMACROS
#define NONAMELESSUNION
#define NONAMELESSSTRUCT
#define COBJMACROS
#include <windef.h>
#include <winbase.h>
#include <winuser.h>
#include <winnls.h>
#include <htmlhelp.h>
#include <ole2.h>
#include <exdisp.h>
#include <mshtmhst.h>
#include <commctrl.h>
#include <wine/itss.h>
@ -48,6 +45,7 @@
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(htmlhelp);
#include "resource.h"
#include "stream.h"
#define WB_GOBACK 0
@ -326,4 +324,4 @@ static inline LPSTR strdupWtoA(LPCWSTR str)
extern HINSTANCE hhctrl_hinstance DECLSPEC_HIDDEN;
extern BOOL hh_process DECLSPEC_HIDDEN;
#endif
#endif /* HHCTRL_H */

View file

@ -45,4 +45,4 @@ BOOL next_content(stream_t *stream, strbuf_t *buf) DECLSPEC_HIDDEN;
BOOL next_node(stream_t *stream, strbuf_t *buf) DECLSPEC_HIDDEN;
const char *get_attr(const char *node, const char *name, int *len) DECLSPEC_HIDDEN;
#endif
#endif /* HHCTRL_STREAM_H */

View file

@ -20,6 +20,8 @@
#include "hhctrl.h"
#include <mshtmhst.h>
typedef struct IOleClientSiteImpl
{
IOleClientSite IOleClientSite_iface;