Author: akhaldi
Date: Mon Jan 13 12:43:06 2014
New Revision: 61601
URL:
http://svn.reactos.org/svn/reactos?rev=61601&view=rev
Log:
[TASKMGR]
* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716
Modified:
trunk/reactos/base/applications/taskmgr/dbgchnl.c
trunk/reactos/base/applications/taskmgr/graphctl.c
trunk/reactos/base/applications/taskmgr/perfdata.c
trunk/reactos/base/applications/taskmgr/precomp.h
trunk/reactos/base/applications/taskmgr/proclist.c
trunk/reactos/base/applications/taskmgr/procpage.c
trunk/reactos/base/applications/taskmgr/taskmgr.c
Modified: trunk/reactos/base/applications/taskmgr/dbgchnl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/taskmgr/…
==============================================================================
--- trunk/reactos/base/applications/taskmgr/dbgchnl.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/taskmgr/dbgchnl.c [iso-8859-1] Mon Jan 13 12:43:06
2014
@@ -21,6 +21,8 @@
*/
#include "precomp.h"
+
+#include <stdio.h>
/* TODO:
* - the dialog box could be non modal
Modified: trunk/reactos/base/applications/taskmgr/graphctl.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/taskmgr/…
==============================================================================
--- trunk/reactos/base/applications/taskmgr/graphctl.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/taskmgr/graphctl.c [iso-8859-1] Mon Jan 13 12:43:06
2014
@@ -21,6 +21,8 @@
*/
#include "precomp.h"
+
+#include <math.h>
WNDPROC OldGraphCtrlWndProc;
Modified: trunk/reactos/base/applications/taskmgr/perfdata.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/taskmgr/…
==============================================================================
--- trunk/reactos/base/applications/taskmgr/perfdata.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/taskmgr/perfdata.c [iso-8859-1] Mon Jan 13 12:43:06
2014
@@ -21,6 +21,12 @@
*/
#include "precomp.h"
+
+#define WIN32_LEAN_AND_MEAN
+#include <aclapi.h>
+
+#define NTOS_MODE_USER
+#include <ndk/exfuncs.h>
CRITICAL_SECTION PerfDataCriticalSection;
PPERFDATA pPerfDataOld = NULL; /* Older perf data
(saved to establish delta values) */
Modified: trunk/reactos/base/applications/taskmgr/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/taskmgr/…
==============================================================================
--- trunk/reactos/base/applications/taskmgr/precomp.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/taskmgr/precomp.h [iso-8859-1] Mon Jan 13 12:43:06
2014
@@ -5,37 +5,29 @@
#error Task-Manager uses NDK functions, so it can only be compiled with Unicode support
enabled!
#endif
-#include <math.h>
#include <stdlib.h>
-#include <stdio.h>
+#include <stdarg.h>
#define WIN32_NO_STATUS
-#define WIN32_LEAN_AND_MEAN
#include <windef.h>
#include <winbase.h>
-#define NTOS_MODE_USER
-#include <ndk/exfuncs.h>
-#include <aclapi.h>
+#include <wingdi.h>
+#include <winuser.h>
+#include <winreg.h>
#include <commctrl.h>
#include <shellapi.h>
#include "column.h"
#include "taskmgr.h"
#include "perfdata.h"
-#include "perfpage.h"
-#include "about.h"
#include "procpage.h"
-#include "proclist.h"
-#include "affinity.h"
#include "applpage.h"
#include "dbgchnl.h"
-#include "debug.h"
#include "endproc.h"
#include "graph.h"
#include "graphctl.h"
#include "optnmenu.h"
-#include "priority.h"
#include "run.h"
#include "trayicon.h"
Modified: trunk/reactos/base/applications/taskmgr/proclist.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/taskmgr/…
==============================================================================
--- trunk/reactos/base/applications/taskmgr/proclist.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/taskmgr/proclist.c [iso-8859-1] Mon Jan 13 12:43:06
2014
@@ -21,7 +21,6 @@
*/
#include "precomp.h"
-
INT_PTR CALLBACK ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM
lParam);
Modified: trunk/reactos/base/applications/taskmgr/procpage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/taskmgr/…
==============================================================================
--- trunk/reactos/base/applications/taskmgr/procpage.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/taskmgr/procpage.c [iso-8859-1] Mon Jan 13 12:43:06
2014
@@ -23,6 +23,8 @@
#include "precomp.h"
+#include "proclist.h"
+
#define CMP(x1, x2)\
(x1 < x2 ? -1 : (x1 > x2 ? 1 : 0))
Modified: trunk/reactos/base/applications/taskmgr/taskmgr.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/taskmgr/…
==============================================================================
--- trunk/reactos/base/applications/taskmgr/taskmgr.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/taskmgr/taskmgr.c [iso-8859-1] Mon Jan 13 12:43:06
2014
@@ -23,6 +23,12 @@
#include "precomp.h"
+#include "perfpage.h"
+#include "about.h"
+#include "affinity.h"
+#include "debug.h"
+#include "priority.h"
+
#define STATUS_WINDOW 2001
/* Global Variables: */