Author: akhaldi
Date: Tue Jan 21 17:55:08 2014
New Revision: 61743
URL:
http://svn.reactos.org/svn/reactos?rev=61743&view=rev
Log:
[BROWSEUI]
* Remove one time inclusions from the main header and put them back where they belong.
* Set the default debugging channel globally through the main header.
* Improve the main header.
CORE-7716
Modified:
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/internettoolbar.cpp
trunk/reactos/dll/win32/browseui/precomp.h
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/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] Tue Jan 21 17:55:08 2014
@@ -20,8 +20,6 @@
*/
#include "precomp.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(browseui);
void CACLMulti::release_obj(struct ACLMultiSublist *obj)
{
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] Tue Jan 21 17:55:08
2014
@@ -21,6 +21,7 @@
/*
Implements the navigation band of the cabinet window
*/
+
#include "precomp.h"
/*
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] Tue Jan 21 17:55:08
2014
@@ -21,7 +21,9 @@
/*
This class handles the combo box of the address band.
*/
+
#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] Tue Jan 21 17:55:08 2014
@@ -24,6 +24,7 @@
TODO:
*/
+
#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] Tue Jan 21 17:55:08 2014
@@ -21,8 +21,6 @@
#include "precomp.h"
-WINE_DEFAULT_DEBUG_CHANNEL(browseui);
-
#ifndef ASSERT
#define ASSERT(cond) \
if (!(cond)) \
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] Tue Jan 21 17:55:08
2014
@@ -20,8 +20,6 @@
*/
#include "precomp.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(browseui);
CBandSiteMenu::CBandSiteMenu()
{
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] Tue Jan 21 17:55:08 2014
@@ -21,6 +21,7 @@
/*
This class knows how to contain base bar site in a cabinet window.
*/
+
#include "precomp.h"
/*
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] Tue Jan 21 17:55:08
2014
@@ -22,6 +22,7 @@
Base bar that contains a vertical or horizontal explorer band. It also
provides resizing abilities.
*/
+
#include "precomp.h"
/*
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] Tue Jan 21 17:55:08 2014
@@ -22,6 +22,7 @@
Implements the logo band of a cabinet window. Most remarkable feature is the
animation.
*/
+
#include "precomp.h"
/*
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] Tue Jan 21 17:55:08 2014
@@ -19,8 +19,6 @@
*/
#include "precomp.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(browseui);
class CBrowseUIModule : public CComModule
{
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] Tue Jan 21 17:55:08
2014
@@ -22,6 +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 "precomp.h"
// navigation controls and menubar just send a message to parent window
Modified: 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 [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/precomp.h [iso-8859-1] Tue Jan 21 17:55:08 2014
@@ -1,14 +1,12 @@
+#include <stdarg.h>
+
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COM_NO_WINDOWS_H
-#include <stdarg.h>
+
#include <windef.h>
#include <winbase.h>
-#include <winreg.h>
-#include <wingdi.h>
-#include <winnls.h>
#include <wincon.h>
-#include <shellapi.h>
#include <shlobj.h>
#include <tlogstg.h>
#include <shlobj_undoc.h>
@@ -22,7 +20,6 @@
#include <exdispid.h>
#include <shlwapi.h>
#include <shlwapi_undoc.h>
-#include <htiframe.h>
#include <wine/debug.h>
#include "resource.h"
@@ -38,5 +35,5 @@
#include "commonbrowser.h"
#include "globalfoldersettings.h"
#include "regtreeoptions.h"
-#include "newatlinterfaces.h"
-//#include "utility.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(browseui);
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] Tue Jan 21 17:55:08
2014
@@ -19,6 +19,11 @@
*/
#include "precomp.h"
+
+#include <shellapi.h>
+#include <htiframe.h>
+
+#include "newatlinterfaces.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] Tue Jan 21 17:55:08 2014
@@ -21,6 +21,7 @@
/*
Implements the toolbar band of a cabinet window
*/
+
#include "precomp.h"
/*
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] Tue Jan 21 17:55:08 2014
@@ -40,6 +40,7 @@
Implement Revert
*/
+
#include "precomp.h"
class CTravelEntry :
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] Tue Jan 21 17:55:08 2014
@@ -1,4 +1,3 @@
-
#include "precomp.h"
void *operator new(size_t size)
@@ -10,4 +9,3 @@
{
LocalFree(p);
}
-