Starshatter_Open
Open source Starshatter engine
 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 
23 {
24 public:
25  enum { CPU_INVALID, CPU_P5=5, CPU_P6=6, CPU_P7=7, CPU_PLUS };
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