[MSTASK]
authorAmine Khaldi <amine.khaldi@reactos.org>
Wed, 25 Dec 2013 21:09:20 +0000 (21:09 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Wed, 25 Dec 2013 21:09:20 +0000 (21:09 +0000)
* Move some inclusions to the main header.
* Set the default debugging channel globally through the main header.
* Remove inclusions and definitions that already exist in the main header.
CORE-7716

svn path=/trunk/; revision=61418

reactos/dll/win32/mstask/factory.c
reactos/dll/win32/mstask/mstask_main.c
reactos/dll/win32/mstask/mstask_private.h
reactos/dll/win32/mstask/task.c
reactos/dll/win32/mstask/task_scheduler.c
reactos/dll/win32/mstask/task_trigger.c

index 7459f51..25ec76f 100644 (file)
@@ -17,9 +17,6 @@
  */
 
 #include "mstask_private.h"
  */
 
 #include "mstask_private.h"
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(mstask);
 
 struct ClassFactoryImpl
 {
 
 struct ClassFactoryImpl
 {
index 48d9788..512e0b2 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
-//#include <stdio.h>
-
 #include "mstask_private.h"
 #include "mstask_private.h"
-//#include "objbase.h"
-#include <rpcproxy.h>
-
-#include <wine/debug.h>
 
 
-
-WINE_DEFAULT_DEBUG_CHANNEL(mstask);
+#include <rpcproxy.h>
 
 static HINSTANCE hInst;
 LONG dll_ref = 0;
 
 static HINSTANCE hInst;
 LONG dll_ref = 0;
index 6ef0cae..b8f5042 100644 (file)
 #ifndef __MSTASK_PRIVATE_H__
 #define __MSTASK_PRIVATE_H__
 
 #ifndef __MSTASK_PRIVATE_H__
 #define __MSTASK_PRIVATE_H__
 
+#include <stdarg.h>
+
 #define WIN32_NO_STATUS
 #define _INC_WINDOWS
 #define COM_NO_WINDOWS_H
 
 #define WIN32_NO_STATUS
 #define _INC_WINDOWS
 #define COM_NO_WINDOWS_H
 
-#include <stdarg.h>
-
 #define COBJMACROS
 
 #include <windef.h>
 #include <winbase.h>
 #define COBJMACROS
 
 #include <windef.h>
 #include <winbase.h>
-//#include "winuser.h"
-#include <ole2.h>
+#include <objbase.h>
 #include <mstask.h>
 
 #include <mstask.h>
 
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(mstask);
+
 extern LONG dll_ref DECLSPEC_HIDDEN;
 
 typedef struct ClassFactoryImpl ClassFactoryImpl;
 extern LONG dll_ref DECLSPEC_HIDDEN;
 
 typedef struct ClassFactoryImpl ClassFactoryImpl;
index c88b65b..fa4d098 100644 (file)
@@ -17,9 +17,6 @@
  */
 
 #include "mstask_private.h"
  */
 
 #include "mstask_private.h"
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(mstask);
 
 typedef struct
 {
 
 typedef struct
 {
index 20ff0e0..9b98108 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
  * 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 <corerror.h>
 #include "mstask_private.h"
 #include "mstask_private.h"
-#include <wine/debug.h>
 
 
-WINE_DEFAULT_DEBUG_CHANNEL(mstask);
+#include <corerror.h>
 
 typedef struct
 {
 
 typedef struct
 {
index 9ef185b..9e98232 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
  * 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 <winternl.h>
 #include "mstask_private.h"
 #include "mstask_private.h"
-#include <wine/debug.h>
 
 
-WINE_DEFAULT_DEBUG_CHANNEL(mstask);
+#include <winternl.h>
 
 typedef struct
 {
 
 typedef struct
 {