From 06c03f786af8b7225626b884688bb92fa3f92cd2 Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Mon, 17 May 2004 13:11:06 +0000 Subject: [PATCH] use precompiled headers for VC++ builds svn path=/trunk/; revision=9420 --- reactos/subsys/system/explorer/Makefile | 2 +- reactos/subsys/system/explorer/Makefile.MinGW | 2 +- .../system/explorer/desktop/desktop.cpp | 10 +------ .../system/explorer/dialogs/searchprogram.cpp | 4 +-- .../system/explorer/dialogs/settings.cpp | 8 ++--- reactos/subsys/system/explorer/explorer.cpp | 8 +---- reactos/subsys/system/explorer/explorer.dsp | 30 +++++++++++++------ reactos/subsys/system/explorer/precomp.cpp | 28 +++++++++++++++++ .../subsys/system/explorer/shell/entries.cpp | 6 ++-- .../subsys/system/explorer/shell/fatfs.cpp | 5 +--- .../system/explorer/shell/filechild.cpp | 4 +-- .../system/explorer/shell/mainframe.cpp | 6 +--- .../subsys/system/explorer/shell/ntobjfs.cpp | 6 ++-- reactos/subsys/system/explorer/shell/pane.cpp | 5 +--- .../subsys/system/explorer/shell/regfs.cpp | 4 +-- .../system/explorer/shell/shellbrowser.cpp | 5 +--- .../subsys/system/explorer/shell/shellfs.cpp | 10 ++----- .../subsys/system/explorer/shell/unixfs.cpp | 6 ++-- .../subsys/system/explorer/shell/webchild.cpp | 3 +- .../subsys/system/explorer/shell/winfs.cpp | 7 ++--- .../system/explorer/taskbar/desktopbar.cpp | 5 +--- .../system/explorer/taskbar/favorites.cpp | 5 +--- .../system/explorer/taskbar/quicklaunch.cpp | 5 +--- .../system/explorer/taskbar/startmenu.cpp | 5 +--- .../system/explorer/taskbar/taskbar.cpp | 5 +--- .../system/explorer/taskbar/traynotify.cpp | 5 +--- .../system/explorer/utility/dragdropimpl.cpp | 9 ++++-- .../explorer/utility/shellbrowserimpl.cpp | 4 +-- .../system/explorer/utility/shellclasses.cpp | 3 +- .../system/explorer/utility/utility.cpp | 5 ++-- .../subsys/system/explorer/utility/window.cpp | 5 +--- .../system/explorer/utility/xmlstorage.cpp | 4 +-- 32 files changed, 94 insertions(+), 125 deletions(-) create mode 100644 reactos/subsys/system/explorer/precomp.cpp diff --git a/reactos/subsys/system/explorer/Makefile b/reactos/subsys/system/explorer/Makefile index a1f5fe08fab..890735043cb 100644 --- a/reactos/subsys/system/explorer/Makefile +++ b/reactos/subsys/system/explorer/Makefile @@ -43,7 +43,7 @@ ifndef UNICODE UNICODE = 1 endif -CFLAGS = -DWIN32 -D_ROS_ -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0501 -fexceptions -Wall -I$(W32API_PATH)/include +CFLAGS = -DWIN32 -D_ROS_ -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0501 -fexceptions -Wall -I. -I$(W32API_PATH)/include RCFLAGS = -DWIN32 -D_ROS_ -D__WINDRES__ --include-dir $(W32API_PATH)/include LFLAGS = -Wl,--subsystem,windows diff --git a/reactos/subsys/system/explorer/Makefile.MinGW b/reactos/subsys/system/explorer/Makefile.MinGW index 1c5c13949cd..0acdf751c72 100644 --- a/reactos/subsys/system/explorer/Makefile.MinGW +++ b/reactos/subsys/system/explorer/Makefile.MinGW @@ -8,7 +8,7 @@ CC = gcc CXX = g++ LINK = g++ -CFLAGS = -DWIN32 -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0501 -fexceptions -Wall +CFLAGS = -DWIN32 -D_WIN32_IE=0x0600 -D_WIN32_WINNT=0x0501 -fexceptions -Wall -I. RCFLAGS = -DWIN32 -D__WINDRES__ LFLAGS = -Wl,--subsystem,windows diff --git a/reactos/subsys/system/explorer/desktop/desktop.cpp b/reactos/subsys/system/explorer/desktop/desktop.cpp index 848b645188e..75bb0ed9213 100644 --- a/reactos/subsys/system/explorer/desktop/desktop.cpp +++ b/reactos/subsys/system/explorer/desktop/desktop.cpp @@ -26,20 +26,12 @@ // -#include "../utility/utility.h" -#include "../utility/shellclasses.h" -#include "../utility/shellbrowserimpl.h" -#include "../utility/dragdropimpl.h" -#include "../utility/window.h" +#include "precomp.h" -#include "../globals.h" -#include "../externals.h" #include "../explorer_intres.h" -#include "desktop.h" #include "../taskbar/desktopbar.h" #include "../taskbar/taskbar.h" // for PM_GET_LAST_ACTIVE -#include "../shell/mainframe.h" // for MainFrame::OpenShellFolders() static BOOL (WINAPI*SetShellWindow)(HWND); diff --git a/reactos/subsys/system/explorer/dialogs/searchprogram.cpp b/reactos/subsys/system/explorer/dialogs/searchprogram.cpp index 3929d059407..5db205ac2d0 100644 --- a/reactos/subsys/system/explorer/dialogs/searchprogram.cpp +++ b/reactos/subsys/system/explorer/dialogs/searchprogram.cpp @@ -28,10 +28,8 @@ // -#include "../utility/utility.h" +#include "precomp.h" -#include "../explorer.h" -#include "../globals.h" #include "../explorer_intres.h" #include "searchprogram.h" diff --git a/reactos/subsys/system/explorer/dialogs/settings.cpp b/reactos/subsys/system/explorer/dialogs/settings.cpp index 2260b448661..3f065d56df4 100644 --- a/reactos/subsys/system/explorer/dialogs/settings.cpp +++ b/reactos/subsys/system/explorer/dialogs/settings.cpp @@ -28,15 +28,11 @@ // -#include "../utility/utility.h" +#include "precomp.h" -#include "../explorer.h" -#include "../globals.h" -#include "../externals.h" #include "../explorer_intres.h" -#include "../desktop/desktop.h" -#include "../taskbar/traynotify.h" +#include "../taskbar/traynotify.h" #include "settings.h" diff --git a/reactos/subsys/system/explorer/explorer.cpp b/reactos/subsys/system/explorer/explorer.cpp index 2b933b9b06d..e415bb2eeb7 100644 --- a/reactos/subsys/system/explorer/explorer.cpp +++ b/reactos/subsys/system/explorer/explorer.cpp @@ -28,13 +28,7 @@ // -#include "utility/utility.h" - -#include "explorer.h" -#include "desktop/desktop.h" - -#include "globals.h" -#include "externals.h" +#include "precomp.h" #include "explorer_intres.h" diff --git a/reactos/subsys/system/explorer/explorer.dsp b/reactos/subsys/system/explorer/explorer.dsp index f240ab90e46..075c4f81b3d 100644 --- a/reactos/subsys/system/explorer/explorer.dsp +++ b/reactos/subsys/system/explorer/explorer.dsp @@ -49,7 +49,7 @@ RSC=rc.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GR /GX /O1 /D "NDEBUG" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O1 /D "NDEBUG" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /Yu"precomp.h" /FD /c # ADD BASE RSC /l 0x407 /d "NDEBUG" # ADD RSC /l 0x407 /d "NDEBUG" BSC32=bscmake.exe @@ -74,7 +74,7 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /Yu"precomp.h" /FD /GZ /c # ADD BASE RSC /l 0x407 /d "_DEBUG" # ADD RSC /l 0x407 /d "_DEBUG" BSC32=bscmake.exe @@ -100,7 +100,7 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "_ROS_" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "NDEBUG" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /Zi /O2 /D "NDEBUG" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /Yu"precomp.h" /FD /c # ADD BASE RSC /l 0x407 /d "NDEBUG" # ADD RSC /l 0x407 /d "NDEBUG" BSC32=bscmake.exe @@ -126,7 +126,7 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /GX /O2 /D "NDEBUG" /D "WIN32" /D "UNICODE" /D "_ROS_" /YX /FD /c -# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "NDEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /YX /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "NDEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /Yu"precomp.h" /FD /c # ADD BASE RSC /l 0x407 /d "NDEBUG" # ADD RSC /l 0x407 /d "NDEBUG" BSC32=bscmake.exe @@ -152,7 +152,7 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "UNICODE" /D "_ROS_" /FR /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /Yu"precomp.h" /FD /GZ /c # ADD BASE RSC /l 0x407 /d "_DEBUG" # ADD RSC /l 0x407 /d "_DEBUG" BSC32=bscmake.exe @@ -178,7 +178,7 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_ROS_" /D _WIN32_IE=0x0501 /D _WIN32_WINNT=0x0501 /FR /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "_NO_COMUTIL" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "_NO_COMUTIL" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /Yu"precomp.h" /FD /GZ /c # ADD BASE RSC /l 0x407 /d "_DEBUG" # ADD RSC /l 0x407 /d "_DEBUG" BSC32=bscmake.exe @@ -205,7 +205,7 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "WIN32" /D "_ROS_" /D _WIN32_IE=0x0501 /D _WIN32_WINNT=0x0501 /FR /YX /FD /GZ /c -# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /YX /FD /GZ /c +# ADD CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FR /Yu"precomp.h" /FD /GZ /c # ADD BASE RSC /l 0x407 /d "_DEBUG" # ADD RSC /l 0x407 /d "_DEBUG" BSC32=bscmake.exe @@ -232,7 +232,7 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /MDd /W3 /Gm /GR /GX /ZI /Od /D "_DEBUG" /D "UNICODE" /D "WIN32" /D "_ROS_" /D _WIN32_IE=0x0501 /D _WIN32_WINNT=0x0501 /FR /YX /FD /GZ /c -# ADD CPP /nologo /MT /W3 /GR /GX /O2 /D "NDEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FD /c +# ADD CPP /nologo /MT /W3 /GR /GX /O2 /D "NDEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /Yu"precomp.h" /FD /c # ADD BASE RSC /l 0x407 /d "_DEBUG" # ADD RSC /l 0x407 /d "_DEBUG" BSC32=bscmake.exe @@ -259,7 +259,7 @@ LINK32=link.exe # PROP Ignore_Export_Lib 0 # PROP Target_Dir "" # ADD BASE CPP /nologo /MT /W3 /GR /GX /O2 /D "NDEBUG" /D "UNICODE" /D "WIN32" /D "_ROS_" /D _WIN32_IE=0x0501 /D _WIN32_WINNT=0x0501 /FD /c -# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "NDEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /FD /c +# ADD CPP /nologo /MD /W3 /GR /GX /O2 /D "NDEBUG" /D "UNICODE" /D "WIN32" /D _WIN32_IE=0x0600 /D _WIN32_WINNT=0x0501 /Yu"precomp.h" /FD /c # ADD BASE RSC /l 0x407 /d "_DEBUG" # ADD RSC /l 0x407 /d "_DEBUG" BSC32=bscmake.exe @@ -703,10 +703,12 @@ SOURCE=.\shell\shellfs.h # Begin Source File SOURCE=.\shell\startup.c +# SUBTRACT CPP /YX /Yc /Yu # End Source File # Begin Source File SOURCE=.\shell\unixfs.cpp +# PROP Exclude_From_Build 1 # End Source File # Begin Source File @@ -775,6 +777,16 @@ SOURCE=.\globals.h # Begin Source File SOURCE=".\i386-stub-win32.c" +# SUBTRACT CPP /YX /Yc /Yu +# End Source File +# Begin Source File + +SOURCE=.\precomp.cpp +# ADD CPP /Yc"precomp.h" +# End Source File +# Begin Source File + +SOURCE=.\precomp.h # End Source File # End Group # End Target diff --git a/reactos/subsys/system/explorer/precomp.cpp b/reactos/subsys/system/explorer/precomp.cpp new file mode 100644 index 00000000000..f8e7255fe0e --- /dev/null +++ b/reactos/subsys/system/explorer/precomp.cpp @@ -0,0 +1,28 @@ +/* + * Copyright 2004 Martin Fuchs + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + + + // + // Explorer clone - precompiled header support + // + // precomp.h + // + // Martin Fuchs, 17.05.2004 + // + +#include "precomp.h" diff --git a/reactos/subsys/system/explorer/shell/entries.cpp b/reactos/subsys/system/explorer/shell/entries.cpp index 9ffa3373e38..e81edbd337b 100644 --- a/reactos/subsys/system/explorer/shell/entries.cpp +++ b/reactos/subsys/system/explorer/shell/entries.cpp @@ -26,11 +26,9 @@ // -#include "../utility/utility.h" -#include "../utility/shellclasses.h" -#include "../globals.h" // for _prescan_nodes +#include "precomp.h" -#include "entries.h" +//#include "entries.h" // allocate and initialise a directory entry diff --git a/reactos/subsys/system/explorer/shell/fatfs.cpp b/reactos/subsys/system/explorer/shell/fatfs.cpp index 91c19b650bf..72927c7dedc 100644 --- a/reactos/subsys/system/explorer/shell/fatfs.cpp +++ b/reactos/subsys/system/explorer/shell/fatfs.cpp @@ -26,11 +26,8 @@ // -#include "../utility/utility.h" -#include "../utility/shellclasses.h" -#include "../globals.h" +#include "precomp.h" -#include "entries.h" #include "fatfs.h" diff --git a/reactos/subsys/system/explorer/shell/filechild.cpp b/reactos/subsys/system/explorer/shell/filechild.cpp index be000793fc8..bf7a8761317 100644 --- a/reactos/subsys/system/explorer/shell/filechild.cpp +++ b/reactos/subsys/system/explorer/shell/filechild.cpp @@ -26,10 +26,8 @@ // -#include "../utility/utility.h" +#include "precomp.h" -#include "../explorer.h" -#include "../globals.h" #include "ntobjfs.h" #include "regfs.h" #include "fatfs.h" diff --git a/reactos/subsys/system/explorer/shell/mainframe.cpp b/reactos/subsys/system/explorer/shell/mainframe.cpp index 704641e4885..af334eacaaf 100644 --- a/reactos/subsys/system/explorer/shell/mainframe.cpp +++ b/reactos/subsys/system/explorer/shell/mainframe.cpp @@ -26,11 +26,7 @@ // -#include "../utility/utility.h" - -#include "../explorer.h" -#include "../globals.h" -#include "../externals.h" +#include "precomp.h" /* We can't include webchild.h here - otherwise MinGW produces errors like: "multiple definition of `QACONTAINERFLAGS'" #include "webchild.h" diff --git a/reactos/subsys/system/explorer/shell/ntobjfs.cpp b/reactos/subsys/system/explorer/shell/ntobjfs.cpp index ea912af4fa5..286a8f8963e 100644 --- a/reactos/subsys/system/explorer/shell/ntobjfs.cpp +++ b/reactos/subsys/system/explorer/shell/ntobjfs.cpp @@ -26,12 +26,10 @@ // -#include "../utility/utility.h" -#include "../utility/shellclasses.h" +#include "precomp.h" -#include "entries.h" #include "ntobjfs.h" -#include "winfs.h" +//#include "winfs.h" #include "regfs.h" diff --git a/reactos/subsys/system/explorer/shell/pane.cpp b/reactos/subsys/system/explorer/shell/pane.cpp index 15e516b53ac..e6d760c9fa4 100644 --- a/reactos/subsys/system/explorer/shell/pane.cpp +++ b/reactos/subsys/system/explorer/shell/pane.cpp @@ -26,10 +26,7 @@ // -#include "../utility/utility.h" - -#include "../explorer.h" -#include "../globals.h" +#include "precomp.h" #include "../explorer_intres.h" diff --git a/reactos/subsys/system/explorer/shell/regfs.cpp b/reactos/subsys/system/explorer/shell/regfs.cpp index f114bfc9505..a31a36007dd 100644 --- a/reactos/subsys/system/explorer/shell/regfs.cpp +++ b/reactos/subsys/system/explorer/shell/regfs.cpp @@ -26,10 +26,8 @@ // -#include "../utility/utility.h" -#include "../utility/shellclasses.h" +#include "precomp.h" -#include "entries.h" #include "regfs.h" diff --git a/reactos/subsys/system/explorer/shell/shellbrowser.cpp b/reactos/subsys/system/explorer/shell/shellbrowser.cpp index d2e966798c8..72d438fc117 100644 --- a/reactos/subsys/system/explorer/shell/shellbrowser.cpp +++ b/reactos/subsys/system/explorer/shell/shellbrowser.cpp @@ -26,10 +26,7 @@ // -#include "../utility/utility.h" - -#include "../explorer.h" -#include "../globals.h" +#include "precomp.h" #include "../explorer_intres.h" diff --git a/reactos/subsys/system/explorer/shell/shellfs.cpp b/reactos/subsys/system/explorer/shell/shellfs.cpp index 402cb0e4c50..9fb227483b3 100644 --- a/reactos/subsys/system/explorer/shell/shellfs.cpp +++ b/reactos/subsys/system/explorer/shell/shellfs.cpp @@ -26,14 +26,10 @@ // -#include "../utility/utility.h" -#include "../utility/shellclasses.h" +#include "precomp.h" -#include "../globals.h" - -#include "entries.h" -#include "shellfs.h" -#include "winfs.h" +//#include "shellfs.h" +//#include "winfs.h" #include diff --git a/reactos/subsys/system/explorer/shell/unixfs.cpp b/reactos/subsys/system/explorer/shell/unixfs.cpp index 3c10d1d294d..7e5dd1f9a34 100644 --- a/reactos/subsys/system/explorer/shell/unixfs.cpp +++ b/reactos/subsys/system/explorer/shell/unixfs.cpp @@ -28,11 +28,9 @@ #ifdef __WINE__ -#include "../utility/utility.h" -#include "../utility/shellclasses.h" +#include "precomp.h" -#include "entries.h" -#include "unixfs.h" +//#include "unixfs.h" // for UnixDirectory::read_directory() #include diff --git a/reactos/subsys/system/explorer/shell/webchild.cpp b/reactos/subsys/system/explorer/shell/webchild.cpp index ac5c84d5675..a011c29b989 100644 --- a/reactos/subsys/system/explorer/shell/webchild.cpp +++ b/reactos/subsys/system/explorer/shell/webchild.cpp @@ -26,8 +26,7 @@ // -#include "../utility/utility.h" -#include "../explorer.h" +#include "precomp.h" #include "../explorer_intres.h" diff --git a/reactos/subsys/system/explorer/shell/winfs.cpp b/reactos/subsys/system/explorer/shell/winfs.cpp index e32bc00b5ea..a05994e45ce 100644 --- a/reactos/subsys/system/explorer/shell/winfs.cpp +++ b/reactos/subsys/system/explorer/shell/winfs.cpp @@ -26,12 +26,9 @@ // -#include "../utility/utility.h" -#include "../utility/shellclasses.h" -#include "../globals.h" +#include "precomp.h" -#include "entries.h" -#include "winfs.h" +//#include "winfs.h" int ScanNTFSStreams(Entry* entry, HANDLE hFile) diff --git a/reactos/subsys/system/explorer/taskbar/desktopbar.cpp b/reactos/subsys/system/explorer/taskbar/desktopbar.cpp index c5806b90646..651420d7401 100644 --- a/reactos/subsys/system/explorer/taskbar/desktopbar.cpp +++ b/reactos/subsys/system/explorer/taskbar/desktopbar.cpp @@ -26,11 +26,8 @@ // -#include "../utility/utility.h" +#include "precomp.h" -#include "../explorer.h" -#include "../globals.h" -#include "../externals.h" #include "../explorer_intres.h" #include "desktopbar.h" diff --git a/reactos/subsys/system/explorer/taskbar/favorites.cpp b/reactos/subsys/system/explorer/taskbar/favorites.cpp index d263ae2408c..330cad2a9ad 100644 --- a/reactos/subsys/system/explorer/taskbar/favorites.cpp +++ b/reactos/subsys/system/explorer/taskbar/favorites.cpp @@ -26,10 +26,7 @@ // -#include "../utility/utility.h" - -#include "../explorer.h" -#include "../globals.h" +#include "precomp.h" #include "startmenu.h" diff --git a/reactos/subsys/system/explorer/taskbar/quicklaunch.cpp b/reactos/subsys/system/explorer/taskbar/quicklaunch.cpp index d2f863b3463..8e695728324 100644 --- a/reactos/subsys/system/explorer/taskbar/quicklaunch.cpp +++ b/reactos/subsys/system/explorer/taskbar/quicklaunch.cpp @@ -26,11 +26,8 @@ // -#include "../utility/utility.h" +#include "precomp.h" -#include "../explorer.h" -#include "../globals.h" -#include "../externals.h" #include "../explorer_intres.h" #include "quicklaunch.h" diff --git a/reactos/subsys/system/explorer/taskbar/startmenu.cpp b/reactos/subsys/system/explorer/taskbar/startmenu.cpp index 1b7818aff58..8bd3c5c4ec9 100644 --- a/reactos/subsys/system/explorer/taskbar/startmenu.cpp +++ b/reactos/subsys/system/explorer/taskbar/startmenu.cpp @@ -30,11 +30,8 @@ // -#include "../utility/utility.h" +#include "precomp.h" -#include "../explorer.h" -#include "../globals.h" -#include "../externals.h" #include "../explorer_intres.h" #include "desktopbar.h" diff --git a/reactos/subsys/system/explorer/taskbar/taskbar.cpp b/reactos/subsys/system/explorer/taskbar/taskbar.cpp index 9e567ff939b..61d8a1a032e 100644 --- a/reactos/subsys/system/explorer/taskbar/taskbar.cpp +++ b/reactos/subsys/system/explorer/taskbar/taskbar.cpp @@ -26,10 +26,7 @@ // -#include "../utility/utility.h" - -#include "../explorer.h" -#include "../globals.h" +#include "precomp.h" #include "taskbar.h" #include "traynotify.h" // for NOTIFYAREA_WIDTH_DEF diff --git a/reactos/subsys/system/explorer/taskbar/traynotify.cpp b/reactos/subsys/system/explorer/taskbar/traynotify.cpp index effe294b9d2..650d6796d06 100644 --- a/reactos/subsys/system/explorer/taskbar/traynotify.cpp +++ b/reactos/subsys/system/explorer/taskbar/traynotify.cpp @@ -26,10 +26,7 @@ // -#include "../utility/utility.h" - -#include "../explorer.h" -#include "../globals.h" +#include "precomp.h" #include "../explorer_intres.h" diff --git a/reactos/subsys/system/explorer/utility/dragdropimpl.cpp b/reactos/subsys/system/explorer/utility/dragdropimpl.cpp index 69faa8870b5..e92f42cebbc 100644 --- a/reactos/subsys/system/explorer/utility/dragdropimpl.cpp +++ b/reactos/subsys/system/explorer/utility/dragdropimpl.cpp @@ -1,3 +1,5 @@ +#include "precomp.h" + /************************************************************************** THIS CODE AND INFORMATION IS PROVIDED 'AS IS' WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO @@ -9,10 +11,11 @@ // dragdropimp.cpp: implementation of the IDataObjectImpl class. ////////////////////////////////////////////////////////////////////// -#include -#include -#include "dragdropimpl.h" +//#include +//#include + +//#include "dragdropimpl.h" ////////////////////////////////////////////////////////////////////// // IDataObjectImpl Class diff --git a/reactos/subsys/system/explorer/utility/shellbrowserimpl.cpp b/reactos/subsys/system/explorer/utility/shellbrowserimpl.cpp index a72cb60e845..ae523f1f5bd 100644 --- a/reactos/subsys/system/explorer/utility/shellbrowserimpl.cpp +++ b/reactos/subsys/system/explorer/utility/shellbrowserimpl.cpp @@ -28,9 +28,7 @@ // -#include "utility.h" -#include "shellclasses.h" -#include "shellbrowserimpl.h" +#include "precomp.h" HRESULT IShellBrowserImpl::QueryInterface(REFIID iid, void** ppvObject) diff --git a/reactos/subsys/system/explorer/utility/shellclasses.cpp b/reactos/subsys/system/explorer/utility/shellclasses.cpp index afd648e1f7c..eff4eb3241b 100644 --- a/reactos/subsys/system/explorer/utility/shellclasses.cpp +++ b/reactos/subsys/system/explorer/utility/shellclasses.cpp @@ -28,8 +28,7 @@ // -#include "utility.h" -#include "shellclasses.h" +#include "precomp.h" #ifdef _MS_VER diff --git a/reactos/subsys/system/explorer/utility/utility.cpp b/reactos/subsys/system/explorer/utility/utility.cpp index afc646c2d80..6e025f7a059 100644 --- a/reactos/subsys/system/explorer/utility/utility.cpp +++ b/reactos/subsys/system/explorer/utility/utility.cpp @@ -26,8 +26,9 @@ // -#include "utility.h" -#include +#include "precomp.h" + +//#include #include #include diff --git a/reactos/subsys/system/explorer/utility/window.cpp b/reactos/subsys/system/explorer/utility/window.cpp index bb5d7a945fe..bbeba49d988 100644 --- a/reactos/subsys/system/explorer/utility/window.cpp +++ b/reactos/subsys/system/explorer/utility/window.cpp @@ -26,11 +26,8 @@ // -#include "utility.h" -#include "shellclasses.h" -#include "window.h" +#include "precomp.h" -#include "../globals.h" #include "../explorer_intres.h" // for ID_GO_BACK, ... diff --git a/reactos/subsys/system/explorer/utility/xmlstorage.cpp b/reactos/subsys/system/explorer/utility/xmlstorage.cpp index b4fc7d9eac6..819146c68f7 100644 --- a/reactos/subsys/system/explorer/utility/xmlstorage.cpp +++ b/reactos/subsys/system/explorer/utility/xmlstorage.cpp @@ -36,9 +36,9 @@ */ -#include "utility.h" +#include "precomp.h" -#include "xmlstorage.h" +//#include "xmlstorage.h" namespace XMLStorage {