Author: akhaldi
Date: Mon Jan 20 13:16:55 2014
New Revision: 61737
URL:
http://svn.reactos.org/svn/reactos?rev=61737&view=rev
Log:
[ATL100]
* Create a main header and move some inclusions to it.
CORE-7716
Added:
trunk/reactos/dll/win32/atl100/precomp.h (with props)
Modified:
trunk/reactos/dll/win32/atl100/atl.c
trunk/reactos/dll/win32/atl100/atl_ax.c
trunk/reactos/dll/win32/atl100/registrar.c
Modified: trunk/reactos/dll/win32/atl100/atl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/atl100/atl.c?rev…
==============================================================================
--- trunk/reactos/dll/win32/atl100/atl.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/atl100/atl.c [iso-8859-1] Mon Jan 20 13:16:55 2014
@@ -17,24 +17,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
-
-#define COBJMACROS
-
-#include <stdarg.h>
-#include <windef.h>
-#include <winbase.h>
-#include <winreg.h>
+#include "precomp.h"
+
#include <wingdi.h>
-#include <objbase.h>
-#include <oleauto.h>
-
-#include <wine/atlbase.h>
-#include <wine/unicode.h>
-
-#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(atl100);
Modified: trunk/reactos/dll/win32/atl100/atl_ax.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/atl100/atl_ax.c?…
==============================================================================
--- trunk/reactos/dll/win32/atl100/atl_ax.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/atl100/atl_ax.c [iso-8859-1] Mon Jan 20 13:16:55 2014
@@ -18,29 +18,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>
-//#include <stdio.h>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-//#include "winerror.h"
-//#include "winuser.h"
-#include <wine/debug.h>
-//#include "objbase.h"
-//#include "objidl.h"
+#include "precomp.h"
+
#include <ole2.h>
#include <exdisp.h>
-#include <atlbase.h>
-//#include "atliface.h"
#include <atlwin.h>
-
-#include <wine/unicode.h>
WINE_DEFAULT_DEBUG_CHANNEL(atl);
Added: trunk/reactos/dll/win32/atl100/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/atl100/precomp.h…
==============================================================================
--- trunk/reactos/dll/win32/atl100/precomp.h (added)
+++ trunk/reactos/dll/win32/atl100/precomp.h [iso-8859-1] Mon Jan 20 13:16:55 2014
@@ -0,0 +1,22 @@
+#ifndef _ATL100_PCH_
+#define _ATL100_PCH_
+
+#include <stdarg.h>
+
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+#define COM_NO_WINDOWS_H
+
+#define COBJMACROS
+
+#include <windef.h>
+#include <winbase.h>
+#include <winreg.h>
+#include <objbase.h>
+#include <oleauto.h>
+
+#include <wine/atlbase.h>
+#include <wine/debug.h>
+#include <wine/unicode.h>
+
+#endif /* _ATL100_PCH_ */
Propchange: trunk/reactos/dll/win32/atl100/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/atl100/registrar.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/atl100/registrar…
==============================================================================
--- trunk/reactos/dll/win32/atl100/registrar.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/atl100/registrar.c [iso-8859-1] Mon Jan 20 13:16:55 2014
@@ -16,22 +16,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
-
-#define COBJMACROS
-
-#include <stdarg.h>
-#include <windef.h>
-#include <winbase.h>
-#include <winreg.h>
-#include <objbase.h>
-
-#include <atlbase.h>
-
-#include <wine/debug.h>
-#include <wine/unicode.h>
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(atl);