~aleteoryx/muditaos

ref: ace4e133e70de6f22a77d38e6bf64681fb4c83e1 muditaos/module-apps/application-desktop/data/DesktopData.hpp -rw-r--r-- 636 bytes
ace4e133 — Marcin Zieliński [MOS-840] Render VoLTE unavailable if no SIM card 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// 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