diff --git a/reactos/dll/win32/qmgr/enum_files.c b/reactos/dll/win32/qmgr/enum_files.c index 16106f8a740..8b01fd301de 100644 --- a/reactos/dll/win32/qmgr/enum_files.c +++ b/reactos/dll/win32/qmgr/enum_files.c @@ -19,9 +19,6 @@ */ #include "qmgr.h" -#include - -WINE_DEFAULT_DEBUG_CHANNEL(qmgr); typedef struct { diff --git a/reactos/dll/win32/qmgr/enum_jobs.c b/reactos/dll/win32/qmgr/enum_jobs.c index e361555669a..6af19be5b97 100644 --- a/reactos/dll/win32/qmgr/enum_jobs.c +++ b/reactos/dll/win32/qmgr/enum_jobs.c @@ -19,9 +19,6 @@ */ #include "qmgr.h" -#include - -WINE_DEFAULT_DEBUG_CHANNEL(qmgr); typedef struct { diff --git a/reactos/dll/win32/qmgr/factory.c b/reactos/dll/win32/qmgr/factory.c index 842b05444fa..7a069f3e92e 100644 --- a/reactos/dll/win32/qmgr/factory.c +++ b/reactos/dll/win32/qmgr/factory.c @@ -18,12 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#define COBJMACROS - #include "qmgr.h" -#include - -WINE_DEFAULT_DEBUG_CHANNEL(qmgr); static ULONG WINAPI BITS_IClassFactory_AddRef(IClassFactory *iface) diff --git a/reactos/dll/win32/qmgr/file.c b/reactos/dll/win32/qmgr/file.c index 70caccfaf56..6ba493ae142 100644 --- a/reactos/dll/win32/qmgr/file.c +++ b/reactos/dll/win32/qmgr/file.c @@ -18,27 +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 "qmgr.h" -#include - -#define COBJMACROS - -#include -#include -//#include "winuser.h" -//#include "winreg.h" -#include #include #include -#include "qmgr.h" -#include - -WINE_DEFAULT_DEBUG_CHANNEL(qmgr); - static inline BackgroundCopyFileImpl *impl_from_IBackgroundCopyFile(IBackgroundCopyFile *iface) { return CONTAINING_RECORD(iface, BackgroundCopyFileImpl, IBackgroundCopyFile_iface); diff --git a/reactos/dll/win32/qmgr/job.c b/reactos/dll/win32/qmgr/job.c index cc7c4c436d6..c4a2325e7ce 100644 --- a/reactos/dll/win32/qmgr/job.c +++ b/reactos/dll/win32/qmgr/job.c @@ -18,15 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -//#include - -//#include "windef.h" -//#include "winbase.h" - #include "qmgr.h" -#include - -WINE_DEFAULT_DEBUG_CHANNEL(qmgr); static inline BackgroundCopyJobImpl *impl_from_IBackgroundCopyJob2(IBackgroundCopyJob2 *iface) { diff --git a/reactos/dll/win32/qmgr/qmgr.c b/reactos/dll/win32/qmgr/qmgr.c index 1987dc51330..28a90d7f658 100644 --- a/reactos/dll/win32/qmgr/qmgr.c +++ b/reactos/dll/win32/qmgr/qmgr.c @@ -19,9 +19,6 @@ */ #include "qmgr.h" -#include - -WINE_DEFAULT_DEBUG_CHANNEL(qmgr); BackgroundCopyManagerImpl globalMgr; diff --git a/reactos/dll/win32/qmgr/qmgr.h b/reactos/dll/win32/qmgr/qmgr.h index 8c3db3e93d7..c93bcc2ba3e 100644 --- a/reactos/dll/win32/qmgr/qmgr.h +++ b/reactos/dll/win32/qmgr/qmgr.h @@ -21,21 +21,24 @@ #ifndef __QMGR_H__ #define __QMGR_H__ +#include + #define WIN32_NO_STATUS #define _INC_WINDOWS #define COM_NO_WINDOWS_H -#include +#define COBJMACROS #include #include +#include #include - -#define COBJMACROS #include -//#include #include +#include + +WINE_DEFAULT_DEBUG_CHANNEL(qmgr); /* Background copy job vtbl and related data */ typedef struct diff --git a/reactos/dll/win32/qmgr/qmgr_main.c b/reactos/dll/win32/qmgr/qmgr_main.c index e02e863f3e0..267bd1f827c 100644 --- a/reactos/dll/win32/qmgr/qmgr_main.c +++ b/reactos/dll/win32/qmgr/qmgr_main.c @@ -21,29 +21,16 @@ * 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 "qmgr.h" #include -#include -#include -#include #include #include #include #include -#include - -//#include "bits.h" -#include "qmgr.h" #include -#include - -WINE_DEFAULT_DEBUG_CHANNEL(qmgr); - /* Handle to the base address of this DLL */ static HINSTANCE hInst; diff --git a/reactos/dll/win32/qmgr/service.c b/reactos/dll/win32/qmgr/service.c index b012789cfcd..702a74e9857 100644 --- a/reactos/dll/win32/qmgr/service.c +++ b/reactos/dll/win32/qmgr/service.c @@ -18,15 +18,7 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#include -//#include "objbase.h" -#include -//#include "bits.h" - #include "qmgr.h" -#include - -WINE_DEFAULT_DEBUG_CHANNEL(qmgr); HANDLE stop_event = NULL;