operatingsystem_stub.cpp

来自「Pegasus is an open-source implementation」· C++ 代码 · 共 204 行

CPP
204
字号
//%2006//////////////////////////////////////////////////////////////////////////// Copyright (c) 2000, 2001, 2002 BMC Software; Hewlett-Packard Development// Company, L.P.; IBM Corp.; The Open Group; Tivoli Systems.// Copyright (c) 2003 BMC Software; Hewlett-Packard Development Company, L.P.;// IBM Corp.; EMC Corporation, The Open Group.// Copyright (c) 2004 BMC Software; Hewlett-Packard Development Company, L.P.;// IBM Corp.; EMC Corporation; VERITAS Software Corporation; The Open Group.// Copyright (c) 2005 Hewlett-Packard Development Company, L.P.; IBM Corp.;// EMC Corporation; VERITAS Software Corporation; The Open Group.// Copyright (c) 2006 Hewlett-Packard Development Company, L.P.; IBM Corp.;// EMC Corporation; Symantec Corporation; The Open Group.//// Permission is hereby granted, free of charge, to any person obtaining a copy// of this software and associated documentation files (the "Software"), to// deal in the Software without restriction, including without limitation the// rights to use, copy, modify, merge, publish, distribute, sublicense, and/or// sell copies of the Software, and to permit persons to whom the Software is// furnished to do so, subject to the following conditions:// // THE ABOVE COPYRIGHT NOTICE AND THIS PERMISSION NOTICE SHALL BE INCLUDED IN// ALL COPIES OR SUBSTANTIAL PORTIONS OF THE SOFTWARE. THE SOFTWARE IS PROVIDED// "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT// LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR// PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT// HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN// ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.////==============================================================================//// Author: Al Stone <ahs3@fc.hp.com>//         Christopher Neufeld <neufeld@linuxcare.com>//// Modified By: David Kennedy       <dkennedy@linuxcare.com>//              Christopher Neufeld <neufeld@linuxcare.com>//              Al Stone            <ahs3@fc.hp.com>////%////////////////////////////////////////////////////////////////////////////#include "OperatingSystem.h"PEGASUS_USING_STD;OperatingSystem::OperatingSystem(void){}OperatingSystem::~OperatingSystem(void){}Boolean OperatingSystem::getCSName(String& csName){    return false;}Boolean OperatingSystem::getName(String& osName){    return false;}Boolean OperatingSystem::getCaption(String& caption){    return false;}Boolean OperatingSystem::getDescription(String& description){    return false;}Boolean OperatingSystem::getInstallDate(CIMDateTime& installDate){    return false;}Boolean OperatingSystem::getStatus(String& status){    return false;}Boolean OperatingSystem::getVersion(String& osVersion){    return false;}Boolean OperatingSystem::getOSType(Uint16& osType){    return false;}Boolean OperatingSystem::getOtherTypeDescription(String& otherTypeDescription){    return false;}Boolean OperatingSystem::getLastBootUpTime(CIMDateTime& lastBootUpTime){    return false;}Boolean OperatingSystem::getLocalDateTime(CIMDateTime& localDateTime){    return false;}Boolean OperatingSystem::getCurrentTimeZone(Sint16& currentTimeZone){    return false;}Boolean OperatingSystem::getNumberOfLicensedUsers(Uint32& numberOfLicensedUsers){    return false;}Boolean OperatingSystem::getNumberOfUsers(Uint32& numberOfUsers){    return false;}Boolean OperatingSystem::getNumberOfProcesses(Uint32& numberOfProcesses){    return false;}Boolean OperatingSystem::getMaxNumberOfProcesses(Uint32& mMaxProcesses){    return false;}Boolean OperatingSystem::getTotalSwapSpaceSize(Uint64& mTotalSwapSpaceSize){    return false;}Boolean OperatingSystem::getTotalVirtualMemorySize(Uint64& total){    return false;}Boolean OperatingSystem::getFreeVirtualMemory(Uint64& freeVirtualMemory){    return false;}Boolean OperatingSystem::getFreePhysicalMemory(Uint64& total){    return false;}Boolean OperatingSystem::getTotalVisibleMemorySize(Uint64& memory){    return false;}Boolean OperatingSystem::getSizeStoredInPagingFiles(Uint64& total){    return false;}Boolean OperatingSystem::getFreeSpaceInPagingFiles(                                              Uint64& freeSpaceInPagingFiles){    return false;}Boolean OperatingSystem::getMaxProcessMemorySize(Uint64& maxProcessMemorySize){    return false;}Boolean OperatingSystem::getDistributed(Boolean& distributed){    return false;}Boolean OperatingSystem::getMaxProcsPerUser(Uint32& maxProcsPerUser){    return false;}Boolean OperatingSystem::getSystemUpTime(Uint64& mUpTime){    return false;}Boolean OperatingSystem::getOperatingSystemCapability(String& scapability){    return false;}Uint32 OperatingSystem::_reboot(){   return false;}Uint32 OperatingSystem::_shutdown(){   return false;}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?