mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-05-18 21:54:11 -04:00
Split system module to better manage dependencies between system components. Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
28 lines
680 B
C++
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
|