1 #ifndef AKTUALIZR_LITE_HELPERS
2 #define AKTUALIZR_LITE_HELPERS
8 #include "primary/sotauptaneclient.h"
12 Version(std::string version) : raw_ver(std::move(version)) {}
14 bool operator<(
const Version& other) {
return strverscmp(raw_ver.c_str(), other.raw_ver.c_str()) < 0; }
21 std::shared_ptr<INvStorage> storage;
22 std::shared_ptr<SotaUptaneClient> primary;
23 std::pair<Uptane::EcuSerial, Uptane::HardwareIdentifier> primary_ecu;
26 #endif // AKTUALIZR_LITE_HELPERS