[NETSHELL]

- Fix warnings

svn path=/trunk/; revision=59532
This commit is contained in:
Thomas Faber 2013-07-20 09:56:58 +00:00
parent 4248694ae9
commit e713afc1f4
8 changed files with 49 additions and 44 deletions

View file

@ -15,7 +15,7 @@ if(GCC_VERSION VERSION_GREATER 4.7)
add_compile_flags("-mstackrealign")
endif()
add_compile_flags_language("-fno-rtti -fno-exceptions" "CXX")
add_compile_flags_language("-fno-rtti -fno-exceptions -std=c++11" "CXX")
#bug
#file(TO_NATIVE_PATH ${REACTOS_SOURCE_DIR} REACTOS_SOURCE_DIR_NATIVE)

View file

@ -2,7 +2,8 @@
WINE_DEFAULT_DEBUG_CHANNEL (shell);
class CNetshellClassFactory: public IClassFactory
class CNetshellClassFactory :
public IClassFactory
{
public:
CNetshellClassFactory(REFCLSID rclsid);

View file

@ -9,7 +9,7 @@ typedef struct tagINetConnectionItem
NETCON_PROPERTIES Props;
} INetConnectionItem, *PINetConnectionItem;
class CNetConnectionManager:
class CNetConnectionManager final :
public INetConnectionManager,
public IEnumNetConnection
{
@ -37,7 +37,7 @@ class CNetConnectionManager:
PINetConnectionItem pCurrent;
};
class CNetConnection:
class CNetConnection final :
public INetConnection
{
public:

View file

@ -22,7 +22,7 @@ typedef struct tagENUMLIST
LPITEMIDLIST pidl;
} ENUMLIST, *LPENUMLIST;
class CEnumIDList:
class CEnumIDList final :
public IEnumIDList
{
public:

View file

@ -22,7 +22,7 @@ typedef struct
UINT NumPropDialogOpen;
} NET_ITEM, *PNET_ITEM;
class CNetConnectionPropertyUi:
class CNetConnectionPropertyUi final :
public INetConnectionPropertyUi2,
public INetLanConnectionUiInfo,
public INetConnectionConnectUi

View file

@ -25,6 +25,10 @@
#include "resource.h"
#if defined(_MSC_VER) && _MSC_VER < 1700
#define final sealed
#endif
#define NCF_VIRTUAL 0x1
#define NCF_SOFTWARE_ENUMERATED 0x2
#define NCF_PHYSICAL 0x4

View file

@ -28,7 +28,7 @@ WINE_DEFAULT_DEBUG_CHANNEL (shell);
* IShellFolder implementation
*/
class CNetworkConnections:
class CNetworkConnections final :
public IShellFolder2,
public IPersistFolder2,
public IShellExecuteHookW
@ -78,7 +78,7 @@ class CNetworkConnections:
IOleCommandTarget * lpOleCmd;
};
class CNetConUiObject:
class CNetConUiObject final :
public IContextMenu3,
public IObjectWithSite,
public IQueryInfo,