Author: akhaldi Date: Sat Jan 25 10:59:27 2014 New Revision: 61799
URL: http://svn.reactos.org/svn/reactos?rev=61799&view=rev Log: [NETSHELL] * Remove one time inclusions from the main header and put them back where they belong. CORE-7716
Modified: trunk/reactos/dll/win32/netshell/enumlist.h trunk/reactos/dll/win32/netshell/lanconnectui.cpp trunk/reactos/dll/win32/netshell/lanstatusui.cpp trunk/reactos/dll/win32/netshell/netshell.cpp trunk/reactos/dll/win32/netshell/precomp.h
Modified: trunk/reactos/dll/win32/netshell/enumlist.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/enumlist... ============================================================================== --- trunk/reactos/dll/win32/netshell/enumlist.h [iso-8859-1] (original) +++ trunk/reactos/dll/win32/netshell/enumlist.h [iso-8859-1] Sat Jan 25 10:59:27 2014 @@ -1,3 +1,5 @@ +#pragma once + typedef struct tagGUIDStruct { BYTE dummy; /* offset 01 is unknown */
Modified: trunk/reactos/dll/win32/netshell/lanconnectui.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lanconne... ============================================================================== --- trunk/reactos/dll/win32/netshell/lanconnectui.cpp [iso-8859-1] (original) +++ trunk/reactos/dll/win32/netshell/lanconnectui.cpp [iso-8859-1] Sat Jan 25 10:59:27 2014 @@ -1,4 +1,7 @@ #include "precomp.h" + +#include <netcfgx.h> +#include <netcfgn.h>
/// CLASSID /// {7007ACC5-3202-11D1-AAD2-00805FC1270E}
Modified: trunk/reactos/dll/win32/netshell/lanstatusui.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/lanstatu... ============================================================================== --- trunk/reactos/dll/win32/netshell/lanstatusui.cpp [iso-8859-1] (original) +++ trunk/reactos/dll/win32/netshell/lanstatusui.cpp [iso-8859-1] Sat Jan 25 10:59:27 2014 @@ -1,4 +1,6 @@ #include "precomp.h" + +#include <winsock.h>
/// CLSID /// HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{7007ACCF-3202-11D1-AAD2-00805FC1270E}
Modified: trunk/reactos/dll/win32/netshell/netshell.cpp URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/netshell... ============================================================================== --- trunk/reactos/dll/win32/netshell/netshell.cpp [iso-8859-1] (original) +++ trunk/reactos/dll/win32/netshell/netshell.cpp [iso-8859-1] Sat Jan 25 10:59:27 2014 @@ -1,4 +1,6 @@ #include "precomp.h" + +#include <olectl.h>
HINSTANCE netshell_hInstance; const GUID CLSID_LANConnectUI = {0x7007ACC5, 0x3202, 0x11D1, {0xAA, 0xD2, 0x00, 0x80, 0x5F, 0xC1, 0x27, 0x0E}};
Modified: trunk/reactos/dll/win32/netshell/precomp.h URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netshell/precomp.... ============================================================================== --- trunk/reactos/dll/win32/netshell/precomp.h [iso-8859-1] (original) +++ trunk/reactos/dll/win32/netshell/precomp.h [iso-8859-1] Sat Jan 25 10:59:27 2014 @@ -1,26 +1,23 @@ #ifndef _PRECOMP_H__ #define _PRECOMP_H__ + +#include <stdio.h>
#define WIN32_NO_STATUS #define _INC_WINDOWS #define COM_NO_WINDOWS_H
-#include <stdio.h> #include <windef.h> +#include <winbase.h> #include <winreg.h> -#include <winbase.h> #include <winnls.h> -#include <winsock2.h> #include <shlwapi.h> #include <shlobj.h> #include <shellapi.h> -#include <olectl.h> #include <iphlpapi.h> #include <setupapi.h> #include <devguid.h> #include <netcon.h> -#include <netcfgx.h> -#include <netcfgn.h>
#include <wine/debug.h> WINE_DEFAULT_DEBUG_CHANNEL(shell); @@ -60,7 +57,6 @@ extern const GUID CLSID_NetworkConnections; extern const GUID CLSID_LANConnectUI; extern const GUID CLSID_LanConnectStatusUI; -extern const GUID GUID_DEVCLASS_NET;
/* shfldr_netconnect.c */ HRESULT ShowNetConnectionProperties(INetConnection * pNetConnect, HWND hwnd); @@ -91,4 +87,4 @@
#include "enumlist.h"
-#endif +#endif /* _PRECOMP_H__ */