forked from NytroRST/ShellcodeCompiler
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPlatform.h
More file actions
32 lines (24 loc) · 540 Bytes
/
Platform.h
File metadata and controls
32 lines (24 loc) · 540 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#ifndef PLATFORM_H
#define PLATFORM_H
#include <string>
#include "Utils.h"
using namespace std;
// Platform types
enum PLATFORM_TYPE
{
PLATFORM_TYPE_WINDOWS_X86,
PLATFORM_TYPE_WINDOWS_X64,
PLATFORM_TYPE_LINUX_X86,
PLATFORM_TYPE_LINUX_X64
};
// Class used for Platform
class Platform
{
static PLATFORM_TYPE s_ePlatformType;
public:
static PLATFORM_TYPE GetPlatform();
static string GetPlatformString();
static void SetPlatform(PLATFORM_TYPE p_ePlatformType);
static void SetPlatformString(string p_sPlatformType);
};
#endif