[DMUSIC]
authorAmine Khaldi <amine.khaldi@reactos.org>
Mon, 20 Jan 2014 11:27:12 +0000 (11:27 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Mon, 20 Jan 2014 11:27:12 +0000 (11:27 +0000)
* Remove one time inclusions from the main header and put them back where they belong.
* Improve header inclusions.
CORE-7716

svn path=/trunk/; revision=61719

reactos/dll/directx/wine/dmusic/buffer.c
reactos/dll/directx/wine/dmusic/collection.c
reactos/dll/directx/wine/dmusic/dmusic.c
reactos/dll/directx/wine/dmusic/dmusic_main.c
reactos/dll/directx/wine/dmusic/dmusic_private.h
reactos/dll/directx/wine/dmusic/port.c

index c609c7f..da78b82 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include "dmusic_private.h"
+
 #include <dmksctrl.h>
 
 static inline IDirectMusicBufferImpl *impl_from_IDirectMusicBuffer(IDirectMusicBuffer *iface)
index e0596ab..330f3d5 100644 (file)
@@ -20,6 +20,8 @@
 
 #include "dmusic_private.h"
 
+#include <dmusicf.h>
+
 WINE_DECLARE_DEBUG_CHANNEL(dmfile);
 
 static inline IDirectMusicCollectionImpl *impl_from_IDirectMusicCollection(IDirectMusicCollection *iface)
index f9f866e..6991c20 100644 (file)
@@ -21,6 +21,8 @@
 
 #include "dmusic_private.h"
 
+#include <winreg.h>
+
 static inline IDirectMusic8Impl *impl_from_IDirectMusic8(IDirectMusic8 *iface)
 {
     return CONTAINING_RECORD(iface, IDirectMusic8Impl, IDirectMusic8_iface);
index cae3a57..655713c 100644 (file)
@@ -18,8 +18,9 @@
  */
 
 #include "dmusic_private.h"
+
 #include <stdio.h>
-#include "rpcproxy.h"
+#include <rpcproxy.h>
 
 static HINSTANCE instance;
 LONG DMUSIC_refCount = 0;
index 5692084..78b1adf 100644 (file)
 
 #include <config.h>
 
-#define COBJMACROS
+#include <stdarg.h>
+
 #define WIN32_NO_STATUS
 #define _INC_WINDOWS
 #define COM_NO_WINDOWS_H
 
-#include <wine/debug.h>
-WINE_DEFAULT_DEBUG_CHANNEL(dmusic);
+#define COBJMACROS
 
-#include <wine/list.h>
-#include <wine/unicode.h>
-#include <winreg.h>
+#include <windef.h>
+#include <winbase.h>
 #include <objbase.h>
-
 #include <dmusici.h>
-#include <dmusicf.h>
 #include <dmusics.h>
 
+#include <wine/debug.h>
+#include <wine/list.h>
+#include <wine/unicode.h>
+
+WINE_DEFAULT_DEBUG_CHANNEL(dmusic);
+
 /*****************************************************************************
  * Interfaces
  */
index 755019c..18a9d52 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include "dmusic_private.h"
+
 #include <assert.h>
 
 static inline IDirectMusicDownloadedInstrumentImpl* impl_from_IDirectMusicDownloadedInstrument(IDirectMusicDownloadedInstrument *iface)