summaryrefslogtreecommitdiff
path: root/src/BootloaderVersion.h
diff options
context:
space:
mode:
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