72 lines
2.7 KiB
C++
72 lines
2.7 KiB
C++
////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (c) Ubisoft Entertainment. All rights reserved.
|
|
//
|
|
// ProjectFolder: hardware
|
|
// BelongsToModule: gearsystemdetectionhardware
|
|
// ScanFlags: Ignore
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
|
|
#ifndef GEAR_SYSTEMDETECTIONHARDWARE__INCLUDED
|
|
#define GEAR_SYSTEMDETECTIONHARDWARE__INCLUDED
|
|
|
|
GEAR_BEGIN_MODULE(systemdetection, gearsystemdetectionhardware)
|
|
|
|
namespace SystemDetection
|
|
{
|
|
class CPU;
|
|
class LogicalDisks;
|
|
class Memory;
|
|
class Network;
|
|
class OS;
|
|
class Graphics;
|
|
class Audio;
|
|
|
|
class GEAR_DLL_ENTRY Hardware
|
|
{
|
|
public:
|
|
virtual ~Hardware() {};
|
|
|
|
/// Get the CPU object that contains information about the processor(s) available on this machine
|
|
/*! \return CPU object that you can query to get more information
|
|
*/
|
|
virtual const CPU& GetCPU() = 0;
|
|
|
|
/// Get the LogicalDisks object that contains information about the disk devices available on this machine
|
|
/*! \return LogicalDisks object that you can query to get more information
|
|
*/
|
|
virtual const LogicalDisks& GetLogicalDisks() = 0;
|
|
|
|
/// Get the Memory object that contains information about the memory available on this machine
|
|
/*! \return Memory object that you can query to get more information
|
|
*/
|
|
virtual const Memory& GetMemory() = 0;
|
|
|
|
/// Get the Network object that contains information about the network adapter(s) available on this machine
|
|
/*! \return Network object that you can query to get more information
|
|
*/
|
|
virtual const Network& GetNetwork() = 0;
|
|
|
|
/// Get the OS object that contains information about the operating system available on this machine
|
|
/*! \return OS object that you can query to get more information
|
|
*/
|
|
virtual const OS& GetOS() = 0;
|
|
|
|
/// Get the Graphics object that contains information about the graphic card(s) and display device(s) available on this machine
|
|
/*! \return Graphics object that you can query to get more information
|
|
*/
|
|
virtual const Graphics& GetGraphics() = 0;
|
|
|
|
/// Get the Audio object that contains information about the sound card available on this machine
|
|
/*! \return Audio object that you can query to get more information
|
|
*/
|
|
virtual const Audio& GetAudio() = 0;
|
|
};
|
|
} // namespace SystemDetection
|
|
|
|
GEAR_END_MODULE()
|
|
|
|
#endif
|