[QEDIT] Sync with Wine Staging 3.3. CORE-14434
authorAmine Khaldi <amine.khaldi@reactos.org>
Thu, 8 Mar 2018 12:43:36 +0000 (13:43 +0100)
committerAmine Khaldi <amine.khaldi@reactos.org>
Thu, 8 Mar 2018 12:43:36 +0000 (13:43 +0100)
dll/directx/wine/qedit/CMakeLists.txt
dll/directx/wine/qedit/main.c
dll/directx/wine/qedit/mediadet.c
dll/directx/wine/qedit/precomp.h [new file with mode: 0644]
dll/directx/wine/qedit/qedit_private.h
dll/directx/wine/qedit/samplegrabber.c
dll/directx/wine/qedit/timeline.c
media/doc/README.WINE

index e1ec657..7ee22ff 100644 (file)
@@ -8,7 +8,7 @@ list(APPEND SOURCE
     mediadet.c
     samplegrabber.c
     timeline.c
-    qedit_private.h)
+    precomp.h)
 
 add_library(qedit SHARED
     ${SOURCE}
@@ -18,5 +18,5 @@ add_library(qedit SHARED
 set_module_type(qedit win32dll)
 target_link_libraries(qedit strmbase strmiids uuid wine)
 add_importlibs(qedit ole32 oleaut32 msvcrt kernel32 ntdll)
-add_pch(qedit qedit_private.h SOURCE)
+add_pch(qedit precomp.h SOURCE)
 add_cd_file(TARGET qedit DESTINATION reactos/system32 FOR all)
index 5455a3b..a012ff2 100644 (file)
  */
 
 #include "qedit_private.h"
+#include "rpcproxy.h"
+#include "wine/debug.h"
 
-#include <rpcproxy.h>
+WINE_DEFAULT_DEBUG_CHANNEL(qedit);
 
 static HINSTANCE instance;
 
index 912e752..b7a5abb 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#include <assert.h>
+#include <stdarg.h>
+
+#define COBJMACROS
+
+#include "windef.h"
+#include "winbase.h"
+#include "winuser.h"
+#include "ole2.h"
+
 #include "qedit_private.h"
+#include "wine/debug.h"
 
-#include <assert.h>
-#include <oleauto.h>
+WINE_DEFAULT_DEBUG_CHANNEL(qedit);
 
 typedef struct MediaDetImpl {
     IUnknown IUnknown_inner;
diff --git a/dll/directx/wine/qedit/precomp.h b/dll/directx/wine/qedit/precomp.h
new file mode 100644 (file)
index 0000000..292ddb2
--- /dev/null
@@ -0,0 +1,13 @@
+
+#ifndef _QEDIT_PRECOMP_H_
+#define _QEDIT_PRECOMP_H_
+
+#define WIN32_LEAN_AND_MEAN
+#define WIN32_NO_STATUS
+#define _INC_WINDOWS
+
+#include "qedit_private.h"
+
+#include <wine/debug.h>
+
+#endif /* !_QEDIT_PRECOMP_H_ */
index e107227..708c53d 100644 (file)
 
 #include <stdarg.h>
 
-#define WIN32_LEAN_AND_MEAN
-#define WIN32_NO_STATUS
-#define _INC_WINDOWS
-#define COM_NO_WINDOWS_H
-
 #define COBJMACROS
 
-#include <windef.h>
-#include <winbase.h>
-#include <objbase.h>
-#include <dshow.h>
-#define __WINE_DDRAW_H /* ROS HACK */
-#include <qedit.h>
-
-#include <wine/debug.h>
-WINE_DEFAULT_DEBUG_CHANNEL(qedit);
+#include "windef.h"
+#include "winbase.h"
+#include "wtypes.h"
+#include "wingdi.h"
+#include "winuser.h"
+#include "dshow.h"
+#include "qedit.h"
 
 HRESULT AMTimeline_create(IUnknown *pUnkOuter, LPVOID *ppObj) DECLSPEC_HIDDEN;
 HRESULT MediaDet_create(IUnknown *pUnkOuter, LPVOID *ppObj) DECLSPEC_HIDDEN;
index 3f4cd13..cd35740 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#include <assert.h>
+#include <stdarg.h>
+
+#define COBJMACROS
+
+#include "windef.h"
+#include "winbase.h"
+#include "winuser.h"
+#include "ole2.h"
+
 #include "qedit_private.h"
+#include "wine/debug.h"
+#include "wine/strmbase.h"
 
-#include <wine/strmbase.h>
+WINE_DEFAULT_DEBUG_CHANNEL(qedit);
 
 static const WCHAR vendor_name[] = { 'W', 'i', 'n', 'e', 0 };
 static const WCHAR pin_in_name[] = { 'I', 'n', 0 };
index 52ef234..5d3fb46 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#include <assert.h>
+#include <stdarg.h>
+
+#define COBJMACROS
+
+#include "windef.h"
+#include "winbase.h"
+#include "winuser.h"
+#include "ole2.h"
+
 #include "qedit_private.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(qedit);
 
 typedef struct {
     IUnknown IUnknown_inner;
index 44c167c..f702a41 100644 (file)
@@ -38,7 +38,7 @@ reactos/dll/directx/wine/dplayx         # Synced to WineStaging-3.3
 reactos/dll/directx/wine/dsound         # Synced to Wine-1.3.29
 reactos/dll/directx/wine/dxdiagn        # Synced to WineStaging-3.3
 reactos/dll/directx/wine/msdmo          # Synced to WineStaging-3.3
-reactos/dll/directx/wine/qedit          # Synced to Wine-3.0
+reactos/dll/directx/wine/qedit          # Synced to WineStaging-3.3
 reactos/dll/directx/wine/quartz         # Synced to Wine-3.0
 reactos/dll/directx/wine/wined3d        # Synced to WineStaging-3.3