Starshatter_Open
Open source Starshatter engine
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
MachineInfo.h
Go to the documentation of this file.
1
/* Project nGenEx
2
Destroyer Studios LLC
3
Copyright © 1997-2004. All Rights Reserved.
4
5
SUBSYSTEM: nGenEx.lib
6
FILE: MachineInfo.cpp
7
AUTHOR: John DiCamillo
8
9
10
OVERVIEW
11
========
12
Collect and Display Machine, OS, and Driver Information
13
*/
14
15
#ifndef MachineInfo_h
16
#define MachineInfo_h
17
18
#include "
Types.h
"
19
20
// +--------------------------------------------------------------------+
21
22
class
MachineInfo
23
{
24
public
:
25
enum
{
CPU_INVALID
,
CPU_P5
=5,
CPU_P6
=6,
CPU_P7
=7,
CPU_PLUS
};
26
enum
{
OS_INVALID
,
OS_WIN95
,
OS_WIN98
,
OS_WINNT
,
OS_WIN2K
,
OS_WINXP
,
OS_WINXP64
,
OS_WINVISTA
,
OS_WINSEVEN
,
OS_WINFUTURE
};
27
enum
{
DX_NONE
,
DX_3
=3,
DX_5
=5,
DX_6
=6,
DX_7
=7,
DX_8
=8,
DX_9
=9,
DX_PLUS
};
28
29
static
int
GetCpuClass
();
30
static
int
GetCpuSpeed
();
31
static
int
GetTotalRam
();
32
static
int
GetPlatform
();
33
static
int
GetDirectXVersion
();
34
35
static
void
DescribeMachine
();
36
37
static
const
char
*
GetShortDescription
();
38
};
39
40
// +--------------------------------------------------------------------+
41
42
#endif MachineInfo_h
nGenEx
MachineInfo.h
Generated on Tue Jun 5 2012 20:46:24 for Starshatter_Open by
1.8.1