Files
MuditaOS/module-apps/application-desktop/data/DesktopData.hpp
Marek Niepieklo bd06eacbda [CP-403] Replace old update code
Removed update related code
Removed update test scripts
2021-08-05 17:11:24 +02:00

31 lines
636 B
C++

// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
#pragma once
#include <gui/SwitchData.hpp>
#include <service-desktop/DesktopMessages.hpp>
#include <filesystem>
#include <utility>
namespace gui
{
class CurrentOsVersion : public gui::SwitchData
{
std::string osVersion;
public:
[[nodiscard]] std::string getCurrentOsVersion() const
{
return osVersion;
}
void setData(std::string version)
{
osVersion = std::move(version);
}
};
} // namespace gui