mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-05-24 16:47:00 -04:00
28 lines
686 B
C++
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
|