diff --git a/.vscode/settings.json b/.vscode/settings.json index 1b79192..ba00c90 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -77,7 +77,47 @@ "istream": "cpp", "streambuf": "cpp", "functional": "cpp", - "cmath": "cpp" + "cmath": "cpp", + "atomic": "cpp", + "cctype": "cpp", + "chrono": "cpp", + "clocale": "cpp", + "cstdarg": "cpp", + "cstddef": "cpp", + "cstdint": "cpp", + "cstdio": "cpp", + "cstdlib": "cpp", + "cstring": "cpp", + "ctime": "cpp", + "cwchar": "cpp", + "cwctype": "cpp", + "unordered_map": "cpp", + "unordered_set": "cpp", + "exception": "cpp", + "algorithm": "cpp", + "iterator": "cpp", + "map": "cpp", + "memory": "cpp", + "memory_resource": "cpp", + "numeric": "cpp", + "optional": "cpp", + "random": "cpp", + "ratio": "cpp", + "string_view": "cpp", + "system_error": "cpp", + "tuple": "cpp", + "type_traits": "cpp", + "utility": "cpp", + "initializer_list": "cpp", + "iomanip": "cpp", + "iosfwd": "cpp", + "iostream": "cpp", + "limits": "cpp", + "ostream": "cpp", + "sstream": "cpp", + "stdexcept": "cpp", + "cinttypes": "cpp", + "typeinfo": "cpp" }, "cSpell.words": [ "Ahnung", diff --git a/include/Version.h b/include/Version.h index a96e295..d57b88b 100644 --- a/include/Version.h +++ b/include/Version.h @@ -1,9 +1,9 @@ // AUTO GENERATED FILE, DO NOT EDIT #ifndef VERSION - #define VERSION "0.1.3" + #define VERSION "0.1.5" #endif #ifndef BUILD_TIMESTAMP - #define BUILD_TIMESTAMP "2023-08-07 20:34:58.828579" + #define BUILD_TIMESTAMP "2023-08-07 20:54:44.940398" #endif \ No newline at end of file diff --git a/src/SpecialMenus/Systeminformation/menuSysteminformatio.cpp b/src/SpecialMenus/Systeminformation/menuSysteminformatio.cpp index 9773c38..fd2e5ab 100644 --- a/src/SpecialMenus/Systeminformation/menuSysteminformatio.cpp +++ b/src/SpecialMenus/Systeminformation/menuSysteminformatio.cpp @@ -12,7 +12,7 @@ #include "menuSysteminformation.h" MenuSysteminformation::MenuSysteminformation(Battery* mainBattery) - : MenuInformationSites(6) { + : MenuInformationSites(8) { this->mainBattery = mainBattery; } @@ -50,6 +50,16 @@ void MenuSysteminformation::printPage() const { break; case 5: + lineOne = "Software verion:"; + lineTwo = VERSION; + break; + + case 6: + lineOne = "Build timestamp:"; + lineTwo = String(BUILD_TIMESTAMP).substring(0, 16); + break; + + case 7: lineOne = "Kleiax Rover by"; lineTwo = "Alexander Klein"; break; diff --git a/src/SpecialMenus/Systeminformation/menuSysteminformation.h b/src/SpecialMenus/Systeminformation/menuSysteminformation.h index cc51d39..d0d885a 100644 --- a/src/SpecialMenus/Systeminformation/menuSysteminformation.h +++ b/src/SpecialMenus/Systeminformation/menuSysteminformation.h @@ -14,6 +14,8 @@ #include +#include "Version.h" + #include "controlPadInput.h" #include "menuInformationSites.h" #include "battery.h" diff --git a/version b/version index 7693c96..def9a01 100644 --- a/version +++ b/version @@ -1 +1 @@ -0.1.3 \ No newline at end of file +0.1.5 \ No newline at end of file