[TASKMGR]

* Remove one time inclusions from the main header and put them back where they belong.
* Cleanup the main header.
CORE-7716

svn path=/trunk/; revision=61601
This commit is contained in:
Amine Khaldi 2014-01-13 12:43:06 +00:00
parent 119084f800
commit 2cfbaf8c67
7 changed files with 22 additions and 13 deletions

View file

@ -22,6 +22,8 @@
#include "precomp.h"
#include <stdio.h>
/* TODO:
* - the dialog box could be non modal
* - in that case,

View file

@ -22,6 +22,8 @@
#include "precomp.h"
#include <math.h>
WNDPROC OldGraphCtrlWndProc;
static void GraphCtrl_Init(TGraphCtrl* this)

View file

@ -22,6 +22,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) */
PPERFDATA pPerfData = NULL; /* Most recent copy of perf data */

View file

@ -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"

View file

@ -22,7 +22,6 @@
#include "precomp.h"
INT_PTR CALLBACK ProcessListWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
WNDPROC OldProcessListWndProc;

View file

@ -23,6 +23,8 @@
#include "precomp.h"
#include "proclist.h"
#define CMP(x1, x2)\
(x1 < x2 ? -1 : (x1 > x2 ? 1 : 0))

View file

@ -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: */