Files
MuditaOS/module-apps/apps-common/popups/data/BluetoothModeParams.hpp
Marcin Smoczyński 958ce4906c [BH-897] Split module-sys
Split system module to better manage dependencies between system
components.

Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
2021-09-21 16:11:59 +02:00

28 lines
680 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 "popups/Popups.hpp"
#include <service-appmgr/Actions.hpp>
#include <PhoneModes/Common.hpp>
namespace gui
{
class BluetoothModeParams : public app::manager::actions::ActionParams
{
public:
explicit BluetoothModeParams(sys::bluetooth::BluetoothMode mode) : bluetoothMode{mode}
{}
[[nodiscard]] auto getBluetoothMode() const noexcept
{
return bluetoothMode;
}
private:
sys::bluetooth::BluetoothMode bluetoothMode;
};
} // namespace gui