Author: akhaldi
Date: Thu Jul 28 15:54:22 2011
New Revision: 52972
URL:
http://svn.reactos.org/svn/reactos?rev=52972&view=rev
Log:
[BROWSEUI]
* Add a PCH.
Added:
trunk/reactos/dll/win32/browseui/precomp.h (with props)
Modified:
trunk/reactos/dll/win32/browseui/CMakeLists.txt
trunk/reactos/dll/win32/browseui/aclmulti.cpp
trunk/reactos/dll/win32/browseui/addressband.cpp
trunk/reactos/dll/win32/browseui/addresseditbox.cpp
trunk/reactos/dll/win32/browseui/bandproxy.cpp
trunk/reactos/dll/win32/browseui/bandsite.cpp
trunk/reactos/dll/win32/browseui/bandsitemenu.cpp
trunk/reactos/dll/win32/browseui/basebar.cpp
trunk/reactos/dll/win32/browseui/basebarsite.cpp
trunk/reactos/dll/win32/browseui/brandband.cpp
trunk/reactos/dll/win32/browseui/browseui.cpp
trunk/reactos/dll/win32/browseui/browseui.rbuild
trunk/reactos/dll/win32/browseui/browseuiord.cpp
trunk/reactos/dll/win32/browseui/commonbrowser.cpp
trunk/reactos/dll/win32/browseui/globalfoldersettings.cpp
trunk/reactos/dll/win32/browseui/internettoolbar.cpp
trunk/reactos/dll/win32/browseui/regtreeoptions.cpp
trunk/reactos/dll/win32/browseui/shellbrowser.cpp
trunk/reactos/dll/win32/browseui/toolsband.cpp
trunk/reactos/dll/win32/browseui/travellog.cpp
trunk/reactos/dll/win32/browseui/utility.cpp
Modified: trunk/reactos/dll/win32/browseui/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/CMakeLi…
==============================================================================
--- trunk/reactos/dll/win32/browseui/CMakeLists.txt [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/CMakeLists.txt [iso-8859-1] Thu Jul 28 15:54:22 2011
@@ -66,4 +66,5 @@
kernel32
ntdll)
+add_pch(browseui precomp.h)
add_cd_file(TARGET browseui DESTINATION reactos/system32 FOR all)
Modified: trunk/reactos/dll/win32/browseui/aclmulti.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/aclmult…
==============================================================================
--- trunk/reactos/dll/win32/browseui/aclmulti.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/aclmulti.cpp [iso-8859-1] Thu Jul 28 15:54:22 2011
@@ -19,18 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <tchar.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
-#include "resource.h"
-#include "wine/debug.h"
-#include "aclmulti.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(browseui);
Modified: trunk/reactos/dll/win32/browseui/addressband.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/address…
==============================================================================
--- trunk/reactos/dll/win32/browseui/addressband.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/addressband.cpp [iso-8859-1] Thu Jul 28 15:54:22
2011
@@ -21,17 +21,7 @@
/*
Implements the navigation band of the cabinet window
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <tchar.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
-#include "resource.h"
-#include "addressband.h"
+#include "precomp.h"
/*
TODO:
Modified: trunk/reactos/dll/win32/browseui/addresseditbox.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/address…
==============================================================================
--- trunk/reactos/dll/win32/browseui/addresseditbox.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/addresseditbox.cpp [iso-8859-1] Thu Jul 28 15:54:22
2011
@@ -21,17 +21,7 @@
/*
This class handles the combo box of the address band.
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <tchar.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
-#include "resource.h"
-#include "addresseditbox.h"
+#include "precomp.h"
/*
TODO:
Add auto completion support
Modified: trunk/reactos/dll/win32/browseui/bandproxy.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/bandpro…
==============================================================================
--- trunk/reactos/dll/win32/browseui/bandproxy.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/bandproxy.cpp [iso-8859-1] Thu Jul 28 15:54:22 2011
@@ -24,19 +24,7 @@
TODO:
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <perhist.h>
-#include <exdisp.h>
-#include <tchar.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
-#include "resource.h"
-#include "bandproxy.h"
+#include "precomp.h"
CBandProxy::CBandProxy()
{
Modified: trunk/reactos/dll/win32/browseui/bandsite.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/bandsit…
==============================================================================
--- trunk/reactos/dll/win32/browseui/bandsite.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/bandsite.cpp [iso-8859-1] Thu Jul 28 15:54:22 2011
@@ -19,18 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <tchar.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
-#include "resource.h"
-#include "wine/debug.h"
-#include "bandsite.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(browseui);
Modified: trunk/reactos/dll/win32/browseui/bandsitemenu.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/bandsit…
==============================================================================
--- trunk/reactos/dll/win32/browseui/bandsitemenu.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/bandsitemenu.cpp [iso-8859-1] Thu Jul 28 15:54:22
2011
@@ -19,18 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <tchar.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
-#include "resource.h"
-#include "bandsitemenu.h"
-#include "wine/debug.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(browseui);
Modified: trunk/reactos/dll/win32/browseui/basebar.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/basebar…
==============================================================================
--- trunk/reactos/dll/win32/browseui/basebar.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/basebar.cpp [iso-8859-1] Thu Jul 28 15:54:22 2011
@@ -21,15 +21,7 @@
/*
This class knows how to contain base bar site in a cabinet window.
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <tchar.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
+#include "precomp.h"
/*
Base bar that contains a vertical or horizontal explorer band. It also
Modified: trunk/reactos/dll/win32/browseui/basebarsite.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/basebar…
==============================================================================
--- trunk/reactos/dll/win32/browseui/basebarsite.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/basebarsite.cpp [iso-8859-1] Thu Jul 28 15:54:22
2011
@@ -22,15 +22,7 @@
Base bar that contains a vertical or horizontal explorer band. It also
provides resizing abilities.
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <tchar.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
+#include "precomp.h"
/*
TODO:
Modified: trunk/reactos/dll/win32/browseui/brandband.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/brandba…
==============================================================================
--- trunk/reactos/dll/win32/browseui/brandband.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/brandband.cpp [iso-8859-1] Thu Jul 28 15:54:22 2011
@@ -22,19 +22,7 @@
Implements the logo band of a cabinet window. Most remarkable feature is the
animation.
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <tchar.h>
-#include <exdisp.h>
-#include <exdispid.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
-#include "resource.h"
-#include "brandband.h"
+#include "precomp.h"
/*
TODO:
Modified: trunk/reactos/dll/win32/browseui/browseui.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/browseu…
==============================================================================
--- trunk/reactos/dll/win32/browseui/browseui.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/browseui.cpp [iso-8859-1] Thu Jul 28 15:54:22 2011
@@ -18,26 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <shlwapi.h>
-#include <tchar.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
-#include <wine/debug.h>
-#include "resource.h"
-#include "aclmulti.h"
-#include "addressband.h"
-#include "addresseditbox.h"
-#include "bandproxy.h"
-#include "bandsite.h"
-#include "bandsitemenu.h"
-#include "brandband.h"
-#include "internettoolbar.h"
+#include "precomp.h"
WINE_DEFAULT_DEBUG_CHANNEL(browseui);
Modified: trunk/reactos/dll/win32/browseui/browseui.rbuild
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/browseu…
==============================================================================
--- trunk/reactos/dll/win32/browseui/browseui.rbuild [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/browseui.rbuild [iso-8859-1] Thu Jul 28 15:54:22
2011
@@ -45,4 +45,5 @@
<file>utility.cpp</file>
<file>dllinstall.c</file>
<file>browseui.rc</file>
+ <pch>precomp.h</pch>
</module>
Modified: trunk/reactos/dll/win32/browseui/browseuiord.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/browseu…
==============================================================================
--- trunk/reactos/dll/win32/browseui/browseuiord.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/browseuiord.cpp [iso-8859-1] Thu Jul 28 15:54:22
2011
@@ -18,12 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <shlwapi_undoc.h>
+#include "precomp.h"
extern DWORD WINAPI BrowserThreadProc(LPVOID lpThreadParameter);
Modified: trunk/reactos/dll/win32/browseui/commonbrowser.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/commonb…
==============================================================================
--- trunk/reactos/dll/win32/browseui/commonbrowser.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/commonbrowser.cpp [iso-8859-1] Thu Jul 28 15:54:22
2011
@@ -18,19 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <tchar.h>
-#include <exdisp.h>
-#include <exdispid.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
-#include "resource.h"
-#include "commonbrowser.h"
+#include "precomp.h"
CCommonBrowser::CCommonBrowser()
{
Modified: trunk/reactos/dll/win32/browseui/globalfoldersettings.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/globalf…
==============================================================================
--- trunk/reactos/dll/win32/browseui/globalfoldersettings.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/globalfoldersettings.cpp [iso-8859-1] Thu Jul 28
15:54:22 2011
@@ -18,19 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <tchar.h>
-#include <exdisp.h>
-#include <exdispid.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
-#include "resource.h"
-#include "globalfoldersettings.h"
+#include "precomp.h"
CGlobalFolderSettings::CGlobalFolderSettings()
{
Modified: trunk/reactos/dll/win32/browseui/internettoolbar.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/interne…
==============================================================================
--- trunk/reactos/dll/win32/browseui/internettoolbar.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/internettoolbar.cpp [iso-8859-1] Thu Jul 28 15:54:22
2011
@@ -22,20 +22,7 @@
Implements a class that knows how to hold and manage the menu band, brand band,
toolbar, and address band for an explorer window
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <tchar.h>
-#include <exdisp.h>
-#include <exdispid.h>
-#include <objbase.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
-#include "resource.h"
-#include "internettoolbar.h"
+#include "precomp.h"
// navigation controls and menubar just send a message to parent window
/*
Added: trunk/reactos/dll/win32/browseui/precomp.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/precomp…
==============================================================================
--- trunk/reactos/dll/win32/browseui/precomp.h (added)
+++ trunk/reactos/dll/win32/browseui/precomp.h [iso-8859-1] Thu Jul 28 15:54:22 2011
@@ -1,0 +1,32 @@
+#include <windows.h>
+#include <shlobj.h>
+#include <shlobj_undoc.h>
+#include <shlguid.h>
+#include <shlguid_undoc.h>
+#include <tchar.h>
+#include <atlbase.h>
+#include <atlcom.h>
+#include <atlwin.h>
+#include <perhist.h>
+#include <exdisp.h>
+#include <exdispid.h>
+#include <shlwapi.h>
+#include <shlwapi_undoc.h>
+#include <objbase.h>
+#include <htiframe.h>
+
+#include "resource.h"
+#include "wine/debug.h"
+#include "aclmulti.h"
+#include "addressband.h"
+#include "addresseditbox.h"
+#include "bandproxy.h"
+#include "bandsite.h"
+#include "bandsitemenu.h"
+#include "brandband.h"
+#include "internettoolbar.h"
+#include "commonbrowser.h"
+#include "globalfoldersettings.h"
+#include "regtreeoptions.h"
+#include "newatlinterfaces.h"
+#include "utility.h"
Propchange: trunk/reactos/dll/win32/browseui/precomp.h
------------------------------------------------------------------------------
svn:eol-style = native
Modified: trunk/reactos/dll/win32/browseui/regtreeoptions.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/regtree…
==============================================================================
--- trunk/reactos/dll/win32/browseui/regtreeoptions.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/regtreeoptions.cpp [iso-8859-1] Thu Jul 28 15:54:22
2011
@@ -18,19 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <tchar.h>
-#include <exdisp.h>
-#include <exdispid.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
-#include "resource.h"
-#include "regtreeoptions.h"
+#include "precomp.h"
CRegTreeOptions::CRegTreeOptions()
{
Modified: trunk/reactos/dll/win32/browseui/shellbrowser.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/shellbr…
==============================================================================
--- trunk/reactos/dll/win32/browseui/shellbrowser.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/shellbrowser.cpp [iso-8859-1] Thu Jul 28 15:54:22
2011
@@ -18,23 +18,7 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <shlwapi.h>
-#include <shlwapi_undoc.h>
-#include <htiframe.h>
-#include <tchar.h>
-#include <perhist.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
-#include <exdisp.h>
-#include <exdispid.h>
-#include "resource.h"
-#include "newatlinterfaces.h"
+#include "precomp.h"
/*
TODO:
Modified: trunk/reactos/dll/win32/browseui/toolsband.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/toolsba…
==============================================================================
--- trunk/reactos/dll/win32/browseui/toolsband.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/toolsband.cpp [iso-8859-1] Thu Jul 28 15:54:22 2011
@@ -21,43 +21,12 @@
/*
Implements the toolbar band of a cabinet window
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <tchar.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
+#include "precomp.h"
/*
TODO:
**Fix GetBandInfo to calculate size correctly
*/
-static const int gBackCommandID = 0xa121;
-static const int gForwardCommandID = 0xa122;
-static const int gUpLevelCommandID = 0xa022;
-static const int gSearchCommandID = 1003;
-static const int gFoldersCommandID = 1004;
-static const int gMoveToCommandID = 0x701f;
-static const int gCopyToCommandID = 0x701e;
-static const int gDeleteCommandID = 0x7011;
-static const int gUndoCommandID = 0x701b;
-static const int gViewsCommandID = 0x7031;
-static const int gStopCommandID = 1010;
-static const int gRefreshCommandID = 0xa220;
-static const int gHomeCommandID = 1012;
-static const int gMapDriveCommandID = 41089;
-static const int gDisconnectCommandID = 41090;
-static const int gFavoritesCommandID = 1015;
-static const int gHistoryCommandID = 1016;
-static const int gFullScreenCommandID = 1017;
-static const int gPropertiesCommandID = 0x7013;
-static const int gCutCommandID = 0x7018;
-static const int gCopyCommandID = 0x7019;
-static const int gPasteCommandID = 0x701a;
-static const int gFolderOptionsCommandID = 41251;
class CToolsBand :
public CWindowImpl<CToolsBand, CWindow, CControlWinTraits>,
Modified: trunk/reactos/dll/win32/browseui/travellog.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/travell…
==============================================================================
--- trunk/reactos/dll/win32/browseui/travellog.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/travellog.cpp [iso-8859-1] Thu Jul 28 15:54:22 2011
@@ -40,16 +40,7 @@
Implement Revert
*/
-#include <windows.h>
-#include <shlobj.h>
-#include <shlobj_undoc.h>
-#include <shlguid.h>
-#include <shlguid_undoc.h>
-#include <tchar.h>
-#include <perhist.h>
-#include <atlbase.h>
-#include <atlcom.h>
-#include <atlwin.h>
+#include "precomp.h"
class CTravelEntry :
public CComObjectRootEx<CComMultiThreadModelNoCS>,
Modified: trunk/reactos/dll/win32/browseui/utility.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/utility…
==============================================================================
--- trunk/reactos/dll/win32/browseui/utility.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/utility.cpp [iso-8859-1] Thu Jul 28 15:54:22 2011
@@ -1,6 +1,5 @@
-#include <windows.h>
-#include "utility.h"
+#include "precomp.h"
void *operator new(size_t size)
{