| pnd-cpp-sdk 1.2.0

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)
13 : major_(major), minor_(minor), revision_(revision) {}
14 int getMajor() { return major_; }
15 int getMinor() { return minor_; }
16 int getRevision() { return revision_; }
17
18 private:
19 int major_;
20 int minor_;
21 int revision_;
22};
23
28 VersionNumber getCVersion();
29
33 VersionNumber getCppVersion();
34
35} // namespace Pnd
Pnd::VersionNumber
A simple structure to hold a standard semantic versioning version number.
Definition version.hpp:10