[HLINK]
authorAmine Khaldi <amine.khaldi@reactos.org>
Tue, 24 Dec 2013 11:32:15 +0000 (11:32 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Tue, 24 Dec 2013 11:32:15 +0000 (11:32 +0000)
* Move some inclusions to the main header.
* Set the default debugging channel globally through the main header.
* Remove inclusions and definitions that already exist in the main header.
CORE-7716

svn path=/trunk/; revision=61367

reactos/dll/win32/hlink/browse_ctx.c
reactos/dll/win32/hlink/extserv.c
reactos/dll/win32/hlink/hlink_main.c
reactos/dll/win32/hlink/hlink_private.h
reactos/dll/win32/hlink/link.c

index 4c63379..95e5b97 100644 (file)
 
 #include "hlink_private.h"
 
-#include <wine/debug.h>
 #include <wine/list.h>
 
-WINE_DEFAULT_DEBUG_CHANNEL(hlink);
-
 struct link_entry
 {
     struct list entry;
index 82c6b09..6c88a47 100644 (file)
 
 #include "hlink_private.h"
 
-#include <wine/debug.h>
-//#include "wine/unicode.h"
-
-WINE_DEFAULT_DEBUG_CHANNEL(hlink);
-
 typedef struct {
     IUnknown           IUnknown_inner;
     IAuthenticate      IAuthenticate_iface;
index 10c067d..26849d8 100644 (file)
 
 #include <winreg.h>
 #include <rpcproxy.h>
-#include <hlguids.h>
-
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(hlink);
 
 static HINSTANCE instance;
 
index 987fd15..d940a8f 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#include <stdarg.h>
+
 #define WIN32_NO_STATUS
 #define _INC_WINDOWS
 #define COM_NO_WINDOWS_H
 
-#include <stdarg.h>
-
 #define COBJMACROS
 
-//#include "winerror.h"
 #include <windef.h>
 #include <winbase.h>
-//#include "winuser.h"
 #include <ole2.h>
 #include <hlink.h>
+#include <hlguids.h>
 
 #include <wine/unicode.h>
 
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(hlink);
+
 extern HRESULT HLink_Constructor(IUnknown*,REFIID,void**) DECLSPEC_HIDDEN;
 extern HRESULT HLinkBrowseContext_Constructor(IUnknown*,REFIID,void**) DECLSPEC_HIDDEN;
 
index a41fcf9..e91bc03 100644 (file)
 #include "hlink_private.h"
 
 #include <shellapi.h>
-#include <hlguids.h>
-
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(hlink);
 
 #define HLINK_SAVE_MAGIC    0x00000002
 #define HLINK_SAVE_MONIKER_PRESENT      0x01