gwnavruntime/basesystem/version.h Source File

version.h
Go to the documentation of this file.
1 /*
2 * Copyright 2015 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 
8 // authors: GUAL
9 #ifndef Navigation_Version_H
10 #define Navigation_Version_H
11 
14 
15 
16 namespace Kaim
17 {
18 
20 class Version
21 {
22 public:
23  static const char* GetVersionName(); // Major.Minor.Patch[-Specific]
24  static const char* GetVersionBuild(); // Platform BuildMode GamewareBuild|ClientBuild [Eval]
25  static const char* GetFullVersion(); //< Concatenate GetVersionName() and GetVersionBuild()
26  static const char* GetBuildDate();
27 
28  static KyUInt32 GetMajorVersion();
29  static KyUInt32 GetMinorVersion();
30  static KyUInt32 GetPatchVersion();
31  static const char* GetSpecificVersion();
32 
33  static bool HasSourceCode();
34  static bool IsGamewareBuild();
35 
36  static bool GetFromFullVersionString(Version& version, const char* fullVersionString);
37 
38 public:
39  Version();
40 
41 private:
42  void Invalidate();
43 
44 public:
45  KyUInt32 m_majorVersion;
46  KyUInt32 m_minorVersion;
47  KyUInt32 m_patchVersion;
48  String m_specificVersion;
49  String m_platform;
50  String m_buildMode;
51  bool m_isGamewareBuild;
52  bool m_hasSourceCode;
53 
54 public: // internal
55  static void RegisterVersion();
56 };
57 
58 }
59 
60 #endif
61 
This class provides information about Gameware Navigation version.
Definition: version.h:20
Definition: gamekitcrowddispersion.h:20
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36