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 
52  static gd::String Year();
53 
57  static gd::String Month();
58 
62  static gd::String Date();
63 
68  static bool IsOlder(int major,
69  int minor,
70  int build,
71  int revision,
72  int major2,
73  int minor2,
74  int build2,
75  int revision2);
76 
81  static bool IsOlderOrEqual(int major,
82  int minor,
83  int build,
84  int revision,
85  int major2,
86  int minor2,
87  int build2,
88  int revision2);
89 };
90 
91 } // namespace gd
92 
93 #endif // GDCORE_VERSIONWRAPPER_H
String represents an UTF8 encoded string.
Definition: String.h:31
Used to get information about GDevelop Core version.
Definition: VersionWrapper.h:17
Definition: CommonTools.h:24