Plasma Engine
2.0
Loading...
Searching...
No Matches
PlatformDesc.h
1
#pragma once
2
3
#include <Foundation/Basics.h>
4
5
#include <Foundation/Utilities/EnumerableClass.h>
6
7
class
PL_FOUNDATION_DLL
plPlatformDesc
:
public
plEnumerable
<plPlatformDesc>
8
{
9
PL_DECLARE_ENUMERABLE_CLASS(
plPlatformDesc
);
10
11
public
:
12
plPlatformDesc
(
const
char
* szName)
13
{
14
m_szName = szName;
15
}
16
17
const
char
* GetName()
const
18
{
19
return
m_szName;
20
}
21
22
static
const
plPlatformDesc
& GetThisPlatformDesc()
23
{
24
return
*s_pThisPlatform;
25
}
26
27
private
:
28
static
const
plPlatformDesc
* s_pThisPlatform;
29
30
const
char
* m_szName;
31
};
plEnumerable
Base class to add the ability to another class to enumerate all active instance of it,...
Definition
EnumerableClass.h:28
plPlatformDesc
Definition
PlatformDesc.h:8
Code
Engine
Foundation
Platform
PlatformDesc.h
Generated by
1.11.0