46 lines
1.1 KiB
C++
46 lines
1.1 KiB
C++
////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
// Copyright (c) Ubisoft Entertainment. All rights reserved.
|
|
//
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
#pragma once
|
|
|
|
#ifndef GEAR_GEARSYSTEMDETECTIONCPU__INCLUDED
|
|
#define GEAR_GEARSYSTEMDETECTIONCPU__INCLUDED
|
|
|
|
#include <gear_detection/detection/cpu.h>
|
|
|
|
namespace G4 {
|
|
|
|
namespace SystemDetection
|
|
{
|
|
/*! \addtogroup detection detection
|
|
@{
|
|
\addtogroup cpu CPU
|
|
@{
|
|
*/
|
|
class G4_DETECTION_DLL_ENTRY GearCPU : public CPU
|
|
{
|
|
public:
|
|
/// Default constructor, it initializes the object with information
|
|
/// gathered from the system
|
|
GearCPU();
|
|
virtual ~GearCPU();
|
|
|
|
/// \sa CPU::GetName
|
|
virtual const char* GetName() const;
|
|
|
|
private:
|
|
void FillInformation();
|
|
|
|
private:
|
|
GearDetectionString m_name;
|
|
};
|
|
/*! @} */
|
|
/*! @} */
|
|
}//namespace SystemDetection
|
|
|
|
} // namespace G4()
|
|
|
|
#endif
|