summaryrefslogtreecommitdiff
path: root/src/Version.h.in
blob: c68a03ce2e6f1d2d962641b7d36fb7f7582b1ba9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#pragma once

@VERSION_EDIT_WARNING@

namespace Pinetime {
  class Version {
    public:
      static uint32_t Major() {return major;}
      static uint32_t Minor() {return minor;}
      static uint32_t Patch() {return patch;}
    private:
      static constexpr uint32_t major = @PROJECT_VERSION_MAJOR@;
      static constexpr uint32_t minor = @PROJECT_VERSION_MINOR@;
      static constexpr uint32_t patch = @PROJECT_VERSION_PATCH@;
  };
}