Files
MuditaOS/module-apps/apps-common/popups/data/TetheringParams.hpp
Lefucjusz 773f2c7eb1 [BH-2069] Update license URL in headers
Update outdated license file URL in
license headers across all project.
2024-09-18 11:53:01 +02:00

28 lines
686 B
C++

// Copyright (c) 2017-2024, Mudita Sp. z.o.o. All rights reserved.
// For licensing, see https://github.com/mudita/MuditaOS/blob/master/LICENSE.md
#pragma once
#include "popups/Popups.hpp"
#include <service-appmgr/Actions.hpp>
#include <PhoneModes/Common.hpp>
namespace gui
{
class TetheringParams : public app::manager::actions::ActionParams
{
public:
explicit TetheringParams(sys::phone_modes::Tethering state) : tetheringState{state}
{}
[[nodiscard]] auto getTetheringState() const noexcept
{
return tetheringState;
}
private:
sys::phone_modes::Tethering tetheringState;
};
} // namespace gui