Author: akhaldi
Date: Tue Dec 24 21:45:30 2013
New Revision: 61385
URL:
http://svn.reactos.org/svn/reactos?rev=61385&view=rev
Log:
[ITSS]
* Create a main header and move some inclusions to it.
* Set the default debugging channel globally through the main header.
CORE-7716
Added:
trunk/reactos/dll/win32/itss/precomp.h (with props)
Modified:
trunk/reactos/dll/win32/itss/chm_lib.c
trunk/reactos/dll/win32/itss/itss.c
trunk/reactos/dll/win32/itss/lzx.c
trunk/reactos/dll/win32/itss/moniker.c
trunk/reactos/dll/win32/itss/protocol.c
trunk/reactos/dll/win32/itss/storage.c
Modified: trunk/reactos/dll/win32/itss/chm_lib.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/itss/chm_lib.c?r…
==============================================================================
--- trunk/reactos/dll/win32/itss/chm_lib.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/itss/chm_lib.c [iso-8859-1] Tue Dec 24 21:45:30 2013
@@ -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)); \
Modified: trunk/reactos/dll/win32/itss/itss.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/itss/itss.c?rev=…
==============================================================================
--- trunk/reactos/dll/win32/itss/itss.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/itss/itss.c [iso-8859-1] Tue Dec 24 21:45:30 2013
@@ -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 <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 "precomp.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);
Modified: trunk/reactos/dll/win32/itss/lzx.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/itss/lzx.c?rev=6…
==============================================================================
--- trunk/reactos/dll/win32/itss/lzx.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/itss/lzx.c [iso-8859-1] Tue Dec 24 21:45:30 2013
@@ -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 */
Modified: trunk/reactos/dll/win32/itss/moniker.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/itss/moniker.c?r…
==============================================================================
--- trunk/reactos/dll/win32/itss/moniker.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/itss/moniker.c [iso-8859-1] Tue Dec 24 21:45:30 2013
@@ -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"
/*****************************************************************************/
Added: trunk/reactos/dll/win32/itss/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/itss/precomp.h?r…
==============================================================================
--- trunk/reactos/dll/win32/itss/precomp.h (added)
+++ trunk/reactos/dll/win32/itss/precomp.h [iso-8859-1] Tue Dec 24 21:45:30 2013
@@ -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_ */
Propchange: trunk/reactos/dll/win32/itss/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/itss/protocol.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/itss/protocol.c?…
==============================================================================
--- trunk/reactos/dll/win32/itss/protocol.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/itss/protocol.c [iso-8859-1] Tue Dec 24 21:45:30 2013
@@ -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 <stdarg.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winuser.h"
+#include "precomp.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;
Modified: trunk/reactos/dll/win32/itss/storage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/itss/storage.c?r…
==============================================================================
--- trunk/reactos/dll/win32/itss/storage.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/itss/storage.c [iso-8859-1] Tue Dec 24 21:45:30 2013
@@ -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"
/************************************************************************/