* Create a main header and move some inclusions to it.
* Set the default debugging channel globally through the main header.
CORE-7716

svn path=/trunk/; revision=61385
This commit is contained in:
Amine Khaldi 2013-12-24 21:45:30 +00:00
parent 8172b44b7e
commit afece00e5a
7 changed files with 36 additions and 113 deletions

View file

@ -54,20 +54,7 @@
* *
***************************************************************************/
#include <config.h>
#include <wine/port.h>
//#include <stdarg.h>
//#include <stdio.h>
//#include <stdlib.h>
//#include <string.h>
//#include "windef.h"
//#include "winbase.h"
#include <wine/unicode.h>
#include "chm_lib.h"
#include "lzx.h"
#include "precomp.h"
#define CHM_ACQUIRE_LOCK(a) do { \
EnterCriticalSection(&(a)); \

View file

@ -21,34 +21,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include "precomp.h"
#include <config.h>
#include <stdarg.h>
//#include <stdio.h>
#define COBJMACROS
#include <windef.h>
#include <winbase.h>
//#include "winuser.h"
//#include "winreg.h"
#include <ole2.h>
#include <rpcproxy.h>
//#include "advpub.h"
//#include "wine/unicode.h"
#include <wine/debug.h>
#include "itsstor.h"
#include <initguid.h>
#include <wine/itss.h>
WINE_DEFAULT_DEBUG_CHANNEL(itss);
static HRESULT ITSS_create(IUnknown *pUnkOuter, LPVOID *ppObj);

View file

@ -35,14 +35,7 @@
*
***************************************************************************/
#include "lzx.h"
#include <stdarg.h>
//#include <stdio.h>
//#include <stdlib.h>
//#include <string.h>
#include <windef.h>
#include <winbase.h>
#include "precomp.h"
/* sized types */
typedef unsigned char UBYTE; /* 8 bits exactly */

View file

@ -20,29 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <config.h>
#include <stdarg.h>
//#include <stdio.h>
#define COBJMACROS
#include <windef.h>
#include <winbase.h>
//#include "winuser.h"
#include <ole2.h>
#include <wine/itss.h>
#include <wine/unicode.h>
#include <wine/debug.h>
#include "itsstor.h"
WINE_DEFAULT_DEBUG_CHANNEL(itss);
#include "precomp.h"
/*****************************************************************************/

View file

@ -0,0 +1,30 @@
#ifndef _ITSS_PCH_
#define _ITSS_PCH_
#include <config.h>
#include <wine/port.h>
#include <stdarg.h>
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#define COBJMACROS
#include <windef.h>
#include <winbase.h>
#include <ole2.h>
#include <initguid.h>
#include <wine/itss.h>
#include <wine/unicode.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(itss);
#include "chm_lib.h"
#include "itsstor.h"
#include "lzx.h"
#endif /* _ITSS_PCH_ */

View file

@ -16,28 +16,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include "precomp.h"
#include <stdarg.h>
#define COBJMACROS
#include <windef.h>
#include <winbase.h>
//#include "winuser.h"
#include <winreg.h>
#include <ole2.h>
#include <urlmon.h>
#include <shlwapi.h>
#include "itsstor.h"
#include "chm_lib.h"
#include <wine/debug.h>
#include <wine/unicode.h>
WINE_DEFAULT_DEBUG_CHANNEL(itss);
typedef struct {
IInternetProtocol IInternetProtocol_iface;

View file

@ -20,30 +20,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
#include <config.h>
#include <stdarg.h>
//#include <stdio.h>
#define COBJMACROS
#include <windef.h>
#include <winbase.h>
//#include "winuser.h"
#include <ole2.h>
#include "chm_lib.h"
#include "itsstor.h"
#include <wine/itss.h>
#include <wine/unicode.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(itss);
#include "precomp.h"
/************************************************************************/