Author: akhaldi
Date: Fri Jan 24 17:59:28 2014
New Revision: 61788
URL:
http://svn.reactos.org/svn/reactos?rev=61788&view=rev
Log:
[MSIMTF]
* Create a main header and move some inclusions to it.
* Improve the header inclusions.
CORE-7716
Added:
trunk/reactos/dll/win32/msimtf/precomp.h (with props)
Modified:
trunk/reactos/dll/win32/msimtf/activeimmapp.c
trunk/reactos/dll/win32/msimtf/main.c
Modified: trunk/reactos/dll/win32/msimtf/activeimmapp.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msimtf/activeimm…
==============================================================================
--- trunk/reactos/dll/win32/msimtf/activeimmapp.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msimtf/activeimmapp.c [iso-8859-1] Fri Jan 24 17:59:28 2014
@@ -18,31 +18,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>
-
-#define COBJMACROS
-
-#include <windef.h>
-#include <winbase.h>
-#include <wingdi.h>
-//#include "winreg.h"
-//#include "winuser.h"
-//#include "winerror.h"
-#include <objbase.h>
-#include <dimm.h>
-//#include "imm.h"
-
-//#include "wine/unicode.h"
-
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(msimtf);
+#include "precomp.h"
typedef struct tagActiveIMMApp {
IActiveIMMApp IActiveIMMApp_iface;
Modified: trunk/reactos/dll/win32/msimtf/main.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msimtf/main.c?re…
==============================================================================
--- trunk/reactos/dll/win32/msimtf/main.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/msimtf/main.c [iso-8859-1] Fri Jan 24 17:59:28 2014
@@ -16,28 +16,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 <wingdi.h>
-//#include "winuser.h"
-#include <ole2.h>
#include <rpcproxy.h>
-#include <dimm.h>
-
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(msimtf);
extern HRESULT ActiveIMMApp_Constructor(IUnknown *punkOuter, IUnknown **ppOut);
Added: trunk/reactos/dll/win32/msimtf/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/msimtf/precomp.h…
==============================================================================
--- trunk/reactos/dll/win32/msimtf/precomp.h (added)
+++ trunk/reactos/dll/win32/msimtf/precomp.h [iso-8859-1] Fri Jan 24 17:59:28 2014
@@ -0,0 +1,23 @@
+#ifndef _MSIMTF_PCH_
+#define _MSIMTF_PCH_
+
+#include <wine/config.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 <wingdi.h>
+#include <objbase.h>
+#include <dimm.h>
+
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(msimtf);
+
+#endif /* _MSIMTF_PCH_ */
Propchange: trunk/reactos/dll/win32/msimtf/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native