| pnd-cpp-sdk 1.5.1

Loading...
Searching...
No Matches
version.hpp
1#pragma once
2#include "aios.h"
3
4 namespace Pnd {
5
10 class VersionNumber {
11 public:
12 VersionNumber(int major, int minor, int revision) : major_(major), minor_(minor), revision_(revision) {}
13 int getMajor() { return major_; }
14 int getMinor() { return minor_; }
15 int getRevision() { return revision_; }
16
17 private:
18 int major_;
19 int minor_;
20 int revision_;
21};
22
27 VersionNumber getCVersion();
28
32 VersionNumber getCppVersion();
33
34} // namespace Pnd
Pnd::VersionNumber
A simple structure to hold a standard semantic versioning version number.
Definition version.hpp:10