From fb123f93f9f5ce42c8e5785d2f8e0edaf951740e Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Wed, 26 Mar 2014 19:21:20 +0000 Subject: Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2. --- src/VBox/Main/src-server/os2/NetIf-os2.cpp | 11 ++++++----- src/VBox/Main/src-server/os2/PerformanceOs2.cpp | 15 +++++---------- 2 files changed, 11 insertions(+), 15 deletions(-) (limited to 'src/VBox/Main/src-server/os2') diff --git a/src/VBox/Main/src-server/os2/NetIf-os2.cpp b/src/VBox/Main/src-server/os2/NetIf-os2.cpp index d0c287b5..cac174a7 100644 --- a/src/VBox/Main/src-server/os2/NetIf-os2.cpp +++ b/src/VBox/Main/src-server/os2/NetIf-os2.cpp @@ -4,7 +4,7 @@ */ /* - * Copyright (C) 2008 Oracle Corporation + * Copyright (C) 2008-2010 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; @@ -33,23 +33,24 @@ int NetIfList(std::list > &list) return VERR_NOT_IMPLEMENTED; } -int NetIfEnableStaticIpConfig(VirtualBox *pVbox, HostNetworkInterface * pIf, ULONG ip, ULONG mask) +int NetIfEnableStaticIpConfig(VirtualBox *pVBox, HostNetworkInterface * pIf, ULONG ip, ULONG mask) { return VERR_NOT_IMPLEMENTED; } -int NetIfEnableStaticIpConfigV6(VirtualBox *pVbox, HostNetworkInterface * pIf, IN_BSTR aIPV6Address, ULONG aIPV6MaskPrefixLength) +int NetIfEnableStaticIpConfigV6(VirtualBox *pVBox, HostNetworkInterface * pIf, IN_BSTR aIPV6Address, ULONG aIPV6MaskPrefixLength) { return VERR_NOT_IMPLEMENTED; } -int NetIfEnableDynamicIpConfig(VirtualBox *pVbox, HostNetworkInterface * pIf) +int NetIfEnableDynamicIpConfig(VirtualBox *pVBox, HostNetworkInterface * pIf) { return VERR_NOT_IMPLEMENTED; } -int NetIfDhcpRediscover(VirtualBox *pVbox, HostNetworkInterface * pIf) +int NetIfDhcpRediscover(VirtualBox *pVBox, HostNetworkInterface * pIf) { return VERR_NOT_IMPLEMENTED; } + diff --git a/src/VBox/Main/src-server/os2/PerformanceOs2.cpp b/src/VBox/Main/src-server/os2/PerformanceOs2.cpp index e004ab83..054932ff 100644 --- a/src/VBox/Main/src-server/os2/PerformanceOs2.cpp +++ b/src/VBox/Main/src-server/os2/PerformanceOs2.cpp @@ -6,7 +6,7 @@ */ /* - * Copyright (C) 2008 Oracle Corporation + * Copyright (C) 2008-2012 Oracle Corporation * * This file is part of VirtualBox Open Source Edition (OSE), as * available from http://www.virtualbox.org. This file is free software; @@ -39,30 +39,25 @@ CollectorHAL *createHAL() int CollectorOS2::getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle) { - return E_NOTIMPL; + return VERR_NOT_IMPLEMENTED; } int CollectorOS2::getHostCpuMHz(ULONG *mhz) { - return E_NOTIMPL; + return VERR_NOT_IMPLEMENTED; } int CollectorOS2::getHostMemoryUsage(ULONG *total, ULONG *used, ULONG *available) { - return E_NOTIMPL; + return VERR_NOT_IMPLEMENTED; } int CollectorOS2::getProcessCpuLoad(RTPROCESS process, ULONG *user, ULONG *kernel) { - return E_NOTIMPL; + return VERR_NOT_IMPLEMENTED; } int CollectorOS2::getProcessMemoryUsage(RTPROCESS process, ULONG *used) -{ - return E_NOTIMPL; -} - -int getDiskListByFs(const char *name, DiskList& list) { return VERR_NOT_IMPLEMENTED; } -- cgit v1.2.1