Files
MuditaOS/module-apps/apps-common/popups/data/BluetoothModeParams.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
692 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 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