aboutsummaryrefslogtreecommitdiffstats
path: root/src/BootloaderVersion.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-10-27 21:55:18 +0100
committerJF <jf@codingfield.com>2020-10-27 21:55:18 +0100
commit7de43a16608e599369867cb3cfa7d5776a5b6380 (patch)
tree1750edfed02f547102e468eca485caab3b08e98d /src/BootloaderVersion.h
parent5983e33b8d7702800dc91a3229b9a7cee75eb006 (diff)
parentc5bf09d21b2ed8e2435ec625e351594f58713924 (diff)
Fix conflicts
Diffstat (limited to 'src/BootloaderVersion.h')
-rw-r--r--src/BootloaderVersion.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/BootloaderVersion.h b/src/BootloaderVersion.h
new file mode 100644
index 00000000..c7fcbd98
--- /dev/null
+++ b/src/BootloaderVersion.h
@@ -0,0 +1,12 @@
+#pragma once
+
+namespace Pinetime {
+ class BootloaderVersion {
+ public:
+ static uint32_t Major();
+ static uint32_t Minor();
+ static uint32_t Patch();
+ static const char* VersionString();
+ static bool IsValid();
+ };
+} \ No newline at end of file