source: trunk/gsinstaller/gsPlatform.h@ 1537

Last change on this file since 1537 was 1536, checked in by sjboddie, 24 years ago

Changes to get compiling on VC++ and gcc

  • Property svn:keywords set to Author Date Id Revision
File size: 599 bytes
Line 
1#ifndef _GSPLATFORM_H_
2#define _GSPLATFORM_H_
3#include <string>
4using namespace std;
5#include <windows.h>
6
7static string gsPlatform_WINDOWSNT("WindowsNT");
8static string gsPlatform_WINDOWS9X("Windows9x");
9static string gsPlatform_WINDOWS32S("Windows32s");
10static string gsPlatform_WINDOWS("Windows");
11
12class gsPlatform
13{
14private:
15 OSVERSIONINFO platformInfo;
16protected:
17public:
18 gsPlatform();
19 bool isWindows9x();
20 bool isWindowsNT();
21 bool isWindows32s();
22 bool isOldWindows32s();
23 bool isExplorerShell();
24 bool isUserAdministrator();
25 bool reboot();
26 string platformString();
27};
28#endif
Note: See TracBrowser for help on using the repository browser.