Author: akhaldi
Date: Mon Jan 20 12:34:50 2014
New Revision: 61724
URL:
http://svn.reactos.org/svn/reactos?rev=61724&view=rev
Log:
[MSDMO]
* 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/directx/wine/msdmo/precomp.h (with props)
Modified:
trunk/reactos/dll/directx/wine/msdmo/dmoreg.c
trunk/reactos/dll/directx/wine/msdmo/dmort.c
trunk/reactos/dll/directx/wine/msdmo/rsrc.rc
Modified: trunk/reactos/dll/directx/wine/msdmo/dmoreg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/wine/msdmo/dmo…
==============================================================================
--- trunk/reactos/dll/directx/wine/msdmo/dmoreg.c [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/wine/msdmo/dmoreg.c [iso-8859-1] Mon Jan 20 12:34:50 2014
@@ -17,24 +17,12 @@
* 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 <windef.h>
-#include <winbase.h>
+#include "precomp.h"
+
#include <winuser.h>
-//#include "winerror.h"
#include <winreg.h>
-#include <objbase.h>
#include <wine/unicode.h>
-#include <wine/debug.h>
-//#include "initguid.h"
#include <dmo.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(msdmo);
#define MSDMO_MAJOR_VERSION 6
Modified: trunk/reactos/dll/directx/wine/msdmo/dmort.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/wine/msdmo/dmo…
==============================================================================
--- trunk/reactos/dll/directx/wine/msdmo/dmort.c [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/wine/msdmo/dmort.c [iso-8859-1] Mon Jan 20 12:34:50 2014
@@ -16,22 +16,10 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <stdarg.h>
+#include "precomp.h"
-#define COBJMACROS
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
-#include <windef.h>
-#include <winbase.h>
-#include <objbase.h>
#include <mediaobj.h>
#include <dmort.h>
-
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(msdmo);
/***********************************************************************
* MoCreateMediaType (MSDMO.@)
Added: trunk/reactos/dll/directx/wine/msdmo/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/wine/msdmo/pre…
==============================================================================
--- trunk/reactos/dll/directx/wine/msdmo/precomp.h (added)
+++ trunk/reactos/dll/directx/wine/msdmo/precomp.h [iso-8859-1] Mon Jan 20 12:34:50 2014
@@ -0,0 +1,19 @@
+#ifndef _MSDMO_PCH_
+#define _MSDMO_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 <objbase.h>
+
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(msdmo);
+
+#endif /* _MSDMO_PCH_ */
Propchange: trunk/reactos/dll/directx/wine/msdmo/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/directx/wine/msdmo/rsrc.rc
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/directx/wine/msdmo/rsr…
==============================================================================
--- trunk/reactos/dll/directx/wine/msdmo/rsrc.rc [iso-8859-1] (original)
+++ trunk/reactos/dll/directx/wine/msdmo/rsrc.rc [iso-8859-1] Mon Jan 20 12:34:50 2014
@@ -23,4 +23,4 @@
#define WINE_PRODUCTVERSION 6,5,1,900
#define WINE_PRODUCTVERSION_STR "6.5"
-#include "wine/wine_common_ver.rc"
+#include <wine/wine_common_ver.rc>