* 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=61483
This commit is contained in:
Amine Khaldi 2014-01-01 22:17:11 +00:00
parent a1b02fb88c
commit 6fbc94188e
8 changed files with 23 additions and 121 deletions

View file

@ -18,24 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COBJMACROS
#include <config.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
//#include "winuser.h"
#include <ole2.h>
//#include "initguid.h"
#include <wuapi.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(wuapi);
#include "wuapi_private.h"
typedef struct _update_downloader
{

View file

@ -18,23 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COBJMACROS
#include <config.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
//#include "winuser.h"
#include <ole2.h>
#include <wuapi.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(wuapi);
#include "wuapi_private.h"
typedef struct _update_installer
{

View file

@ -18,26 +18,9 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COBJMACROS
#include <config.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
//#include "winuser.h"
//#include "ole2.h"
#include <objbase.h>
#include <rpcproxy.h>
#include <wuapi.h>
#include <wine/debug.h>
#include "wuapi_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(wuapi);
#include <rpcproxy.h>
typedef HRESULT (*fnCreateInstance)( IUnknown *pUnkOuter, LPVOID *ppObj );

View file

@ -18,23 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COBJMACROS
#include <config.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
//#include "winuser.h"
#include <ole2.h>
#include <wuapi.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(wuapi);
#include "wuapi_private.h"
typedef struct _update_searcher
{

View file

@ -18,25 +18,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COBJMACROS
#include <config.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
//#include "winuser.h"
#include <ole2.h>
#include <wuapi.h>
#include <wine/debug.h>
#include "wuapi_private.h"
WINE_DEFAULT_DEBUG_CHANNEL(wuapi);
typedef struct _update_session
{
IUpdateSession IUpdateSession_iface;

View file

@ -19,23 +19,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COBJMACROS
#include <config.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
//#include "winuser.h"
#include <ole2.h>
#include <wuapi.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(wuapi);
#include "wuapi_private.h"
typedef struct _systeminfo
{

View file

@ -18,23 +18,7 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COBJMACROS
#include <config.h>
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
//#include "winuser.h"
#include <ole2.h>
#include <wuapi.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(wuapi);
#include "wuapi_private.h"
typedef struct _automatic_updates
{

View file

@ -16,6 +16,23 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <config.h>
#include <stdarg.h>
#define WIN32_NO_STATUS
#define _INC_WINDOWS
#define COBJMACROS
#include <windef.h>
#include <winbase.h>
#include <objbase.h>
#include <wuapi.h>
#include <wine/debug.h>
WINE_DEFAULT_DEBUG_CHANNEL(wuapi);
extern HRESULT AutomaticUpdates_create( IUnknown *pUnkOuter, LPVOID *ppObj ) DECLSPEC_HIDDEN;
extern HRESULT UpdateSession_create( IUnknown *pUnkOuter, LPVOID *ppObj ) DECLSPEC_HIDDEN;
extern HRESULT UpdateSearcher_create( IUnknown *pUnkOuter, LPVOID *ppObj ) DECLSPEC_HIDDEN;