source: trunk/gsinstaller/gsPlatform.h@ 1495

Last change on this file since 1495 was 1397, checked in by cs025, 24 years ago

Initial revision

  • Property svn:keywords set to Author Date Id Revision
File size: 641 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{ private:
14 OSVERSIONINFO platformInfo;
15 protected:
16 public:
17 gsPlatform();
18 bool isWindows9x();
19 bool isWindowsNT();
20 bool isWindows32s();
21 bool isOldWindows32s();
22 bool isExplorerShell();
23 bool isUserAdministrator();
24 bool reboot();
25 string platformString();
26};
27#endif
Note: See TracBrowser for help on using the repository browser.