mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-05-19 22:25:35 -04:00
Split system module to better manage dependencies between system components. Signed-off-by: Marcin Smoczyński <smoczynski.marcin@gmail.com>
28 lines
652 B
C++
28 lines
652 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 PhoneModeParams : public app::manager::actions::ActionParams
|
|
{
|
|
public:
|
|
explicit PhoneModeParams(sys::phone_modes::PhoneMode mode) : phoneMode{mode}
|
|
{}
|
|
|
|
[[nodiscard]] auto getPhoneMode() const noexcept
|
|
{
|
|
return phoneMode;
|
|
}
|
|
|
|
private:
|
|
sys::phone_modes::PhoneMode phoneMode;
|
|
};
|
|
} // namespace gui
|