mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
* subsys/system/taskmgr/.cvsignore: Add *.gch. * subsys/system/taskmgr/precomp.h: New file. * subsys/system/taskmgr/makefile (TARGET_PCH): Set to precomp.h. * subsys/system/taskmgr/*.c: Use pre-compiled header. svn path=/trunk/; revision=10566
This commit is contained in:
parent
ed1baab85f
commit
c78a7ee5ec
23 changed files with 32 additions and 57 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
|
||||
* subsys/system/taskmgr/.cvsignore: Add *.gch.
|
||||
* subsys/system/taskmgr/precomp.h: New file.
|
||||
* subsys/system/taskmgr/makefile (TARGET_PCH): Set to precomp.h.
|
||||
* subsys/system/taskmgr/*.c: Use pre-compiled header.
|
||||
|
||||
2004-08-16 Casper S. Hornstrup <chorns@users.sourceforge.net>
|
||||
|
||||
* subsys/system/usetup/.cvsignore: Add *.gch.
|
||||
|
|
|
@ -15,3 +15,4 @@
|
|||
*.plg
|
||||
*.bak
|
||||
*.map
|
||||
*.gch
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -29,7 +28,6 @@
|
|||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "about.h"
|
||||
|
||||
LRESULT CALLBACK AboutDialogWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -30,7 +29,6 @@
|
|||
#include <winnt.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "procpage.h"
|
||||
#include "affinity.h"
|
||||
#include "perfdata.h"
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -29,7 +28,6 @@
|
|||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "applpage.h"
|
||||
#include "procpage.h"
|
||||
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -29,7 +28,6 @@
|
|||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "column.h"
|
||||
#include "procpage.h"
|
||||
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -30,7 +29,6 @@
|
|||
#include <stdio.h>
|
||||
#include <winnt.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "procpage.h"
|
||||
#include "perfdata.h"
|
||||
#include "column.h"
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -30,7 +29,6 @@
|
|||
#include <stdio.h>
|
||||
#include <winnt.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "debug.h"
|
||||
#include "procpage.h"
|
||||
#include "perfdata.h"
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -30,7 +29,6 @@
|
|||
#include <stdio.h>
|
||||
#include <winnt.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "endproc.h"
|
||||
#include "procpage.h"
|
||||
#include "perfdata.h"
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -29,7 +28,6 @@
|
|||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "font.h"
|
||||
|
||||
void Font_DrawText(HDC hDC, LPCTSTR lpszText, int x, int y)
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -30,7 +29,6 @@
|
|||
#include <stdio.h>
|
||||
#include <winnt.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "graph.h"
|
||||
#include "font.h"
|
||||
#include "perfdata.h"
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -31,7 +30,6 @@
|
|||
|
||||
#include <math.h>
|
||||
#include "graphctl.h"
|
||||
#include "taskmgr.h"
|
||||
|
||||
LONG OldGraphCtrlWndProc;
|
||||
|
||||
|
|
|
@ -12,6 +12,8 @@ TARGET_APPTYPE = windows
|
|||
|
||||
TARGET_NAME = taskmgr
|
||||
|
||||
TARGET_PCH = precomp.h
|
||||
|
||||
TARGET_CFLAGS = -Werror -Wall -DDBG -D_WIN32_IE=0x0501 -D_WIN32_WINNT=0x0501 -D__USE_W32API
|
||||
|
||||
TARGET_SDKLIBS = ntdll.a kernel32.a user32.a gdi32.a comctl32.a
|
||||
|
|
|
@ -26,8 +26,7 @@
|
|||
* Menu item handlers for the options menu.
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -35,7 +34,6 @@
|
|||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "optnmenu.h"
|
||||
#include "procpage.h"
|
||||
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -29,7 +28,6 @@
|
|||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
#include <winnt.h>
|
||||
#include "taskmgr.h"
|
||||
#include "perfdata.h"
|
||||
|
||||
PROCNTQSI NtQuerySystemInformation = NULL;
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -30,7 +29,6 @@
|
|||
#include <stdio.h>
|
||||
#include <winnt.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "perfpage.h"
|
||||
#include "perfdata.h"
|
||||
|
||||
|
|
3
reactos/subsys/system/taskmgr/precomp.h
Normal file
3
reactos/subsys/system/taskmgr/precomp.h
Normal file
|
@ -0,0 +1,3 @@
|
|||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "taskmgr.h"
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -30,7 +29,6 @@
|
|||
#include <stdio.h>
|
||||
#include <winnt.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "priority.h"
|
||||
#include "procpage.h"
|
||||
#include "perfdata.h"
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -30,7 +29,6 @@
|
|||
#include <stdio.h>
|
||||
#include <winnt.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "procpage.h"
|
||||
#include "proclist.h"
|
||||
#include "perfdata.h"
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -30,7 +29,6 @@
|
|||
#include <stdio.h>
|
||||
#include <winnt.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "procpage.h"
|
||||
#include "perfdata.h"
|
||||
#include "column.h"
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -29,7 +28,6 @@
|
|||
#include <tchar.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "run.h"
|
||||
|
||||
void TaskManager_OnFileNew(void)
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -31,7 +30,6 @@
|
|||
#include <winnt.h>
|
||||
|
||||
#include "resource.h"
|
||||
#include "taskmgr.h"
|
||||
#include "applpage.h"
|
||||
#include "procpage.h"
|
||||
#include "perfpage.h"
|
||||
|
|
|
@ -20,8 +20,7 @@
|
|||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN /* Exclude rarely-used stuff from Windows headers */
|
||||
#include <windows.h>
|
||||
#include "precomp.h"
|
||||
#include <commctrl.h>
|
||||
#include <stdlib.h>
|
||||
#include <malloc.h>
|
||||
|
@ -30,7 +29,6 @@
|
|||
#include <stdio.h>
|
||||
#include <winnt.h>
|
||||
|
||||
#include "taskmgr.h"
|
||||
#include "trayicon.h"
|
||||
#include "perfdata.h"
|
||||
#include "shellapi.h"
|
||||
|
|
Loading…
Reference in a new issue