GDevelop Core
Core library for developing platforms and tools compatible with GDevelop.
VersionWrapper.h
Go to the documentation of this file.
1 
6 #ifndef GDCORE_VERSIONWRAPPER_H
7 #define GDCORE_VERSIONWRAPPER_H
8 #include "GDCore/String.h"
9 
10 namespace gd {
11 
17 class GD_CORE_API VersionWrapper {
18  public:
22  static int Major();
23 
27  static int Minor();
28 
32  static int Build();
33 
37  static int Revision();
38 
42  static gd::String FullString();
43 
47  static gd::String Status();
48 
53  static bool IsOlder(int major,
54  int minor,
55  int build,
56  int revision,
57  int major2,
58  int minor2,
59  int build2,
60  int revision2);
61 
66  static bool IsOlderOrEqual(int major,
67  int minor,
68  int build,
69  int revision,
70  int major2,
71  int minor2,
72  int build2,
73  int revision2);
74 };
75 
76 } // namespace gd
77 
78 #endif // GDCORE_VERSIONWRAPPER_H
String represents an UTF8 encoded string.
Definition: String.h:33
Used to get information about GDevelop Core version.
Definition: VersionWrapper.h:17
Definition: CommonTools.h:24