[OBJSEL]
authorAmine Khaldi <amine.khaldi@reactos.org>
Sun, 22 Dec 2013 18:01:43 +0000 (18:01 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Sun, 22 Dec 2013 18:01:43 +0000 (18:01 +0000)
* Improve header inclusions.
* 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=61339

reactos/dll/win32/objsel/factory.c
reactos/dll/win32/objsel/objsel.c
reactos/dll/win32/objsel/objsel_private.h

index 29db0c3..af4e8cc 100644 (file)
 
 #include "objsel_private.h"
 
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(objsel);
-
-
 static inline ClassFactoryImpl *impl_from_IClassFactory(IClassFactory *iface)
 {
     return CONTAINING_RECORD(iface, ClassFactoryImpl, IClassFactory_iface);
index 3d065a2..15f2664 100644 (file)
 #include "objsel_private.h"
 #include <rpcproxy.h>
 
-#include <wine/debug.h>
-
-WINE_DEFAULT_DEBUG_CHANNEL(objsel);
-
 LONG dll_refs = 0;
 static HINSTANCE hInstance;
 
index 615c921..845cd64 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 <string.h>
-#include <stdarg.h>
-//#include <stdio.h>
-//#include "winerror.h"
-#include <windef.h>
-#include <winbase.h>
-//#include "winreg.h"
-//#include "wingdi.h"
-//#include "winuser.h"
-
 #define COBJMACROS
 
-#include <ole2.h>
-//#include "strmif.h"
-//#include "olectl.h"
-//#include "unknwn.h"
+#include <windef.h>
+#include <winbase.h>
+#include <objbase.h>
 #include <objsel.h>
-//#include "wine/unicode.h"
-//#include "uuids.h"
+
+#include <wine/debug.h>
+WINE_DEFAULT_DEBUG_CHANNEL(objsel);
 
 /**********************************************************************
  * Dll lifetime tracking declaration for objsel.dll