Added HardwareInfo class
Former-commit-id: 3db2f8f11d58b4b71b85f749ce2a12dcfff986bc
This commit is contained in:
20
src/Nazara/Core/Win32/HardwareInfoImpl.hpp
Normal file
20
src/Nazara/Core/Win32/HardwareInfoImpl.hpp
Normal file
@@ -0,0 +1,20 @@
|
||||
// Copyright (C) 2012 Jérôme Leclercq
|
||||
// This file is part of the "Nazara Engine - Core module"
|
||||
// For conditions of distribution and use, see copyright notice in Config.hpp
|
||||
|
||||
#pragma once
|
||||
|
||||
#ifndef NAZARA_HARDWAREINFOIMPL_WINDOWS_HPP
|
||||
#define NAZARA_HARDWAREINFOIMPL_WINDOWS_HPP
|
||||
|
||||
#include <Nazara/Prerequesites.hpp>
|
||||
|
||||
class NzHardwareInfoImpl
|
||||
{
|
||||
public:
|
||||
static void Cpuid(unsigned int code, nzUInt32 result[4]);
|
||||
static unsigned int GetProcessorCount();
|
||||
static bool IsCpuidSupported();
|
||||
};
|
||||
|
||||
#endif // NAZARA_HARDWAREINFOIMPL_WINDOWS_HPP
|
||||
Reference in New Issue
Block a user