blob: 65ebfcff38c973254fdccd251867446a221a2abb (
plain) (
blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/*
* BuildVariants.h
* ---------------
* Purpose: Handling of various OpenMPT build variants.
* Notes : (currently none)
* Authors: OpenMPT Devs
* The OpenMPT source code is released under the BSD license. Read LICENSE for more details.
*/
#pragma once
#include "openmpt/all/BuildSettings.hpp"
OPENMPT_NAMESPACE_BEGIN
class BuildVariants
{
public:
enum Variants {
Standard,
Legacy,
Retro,
Unknown,
};
static bool IsKnownSystem();
static BuildVariants::Variants GetBuildVariant();
static mpt::ustring GetBuildVariantName(BuildVariants::Variants variant);
static mpt::ustring GetBuildVariantDescription(BuildVariants::Variants variant);
static mpt::ustring GuessCurrentBuildName();
static bool ProcessorCanRunCurrentBuild();
static bool SystemCanRunCurrentBuild();
};
OPENMPT_NAMESPACE_END
|