mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-05-24 16:47:00 -04:00
30 lines
917 B
C++
30 lines
917 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
|
|
|
|
#include "PopupRequestParamsBase.hpp"
|
|
|
|
namespace gui
|
|
{
|
|
PopupRequestParams::PopupRequestParams(gui::popup::ID popupId) : PopupRequestParams(popupId, popup::Disposition{})
|
|
{}
|
|
|
|
PopupRequestParams::PopupRequestParams(gui::popup::ID popupId, popup::Disposition disposition)
|
|
: app::manager::actions::ActionParams{"Popup request parameters"}, popupId{popupId}, disposition(disposition)
|
|
{}
|
|
|
|
gui::popup::ID PopupRequestParams::getPopupId() const noexcept
|
|
{
|
|
return popupId;
|
|
}
|
|
|
|
const popup::Disposition &PopupRequestParams::getDisposition() const noexcept
|
|
{
|
|
return disposition;
|
|
}
|
|
|
|
void PopupRequestParams::setDisposition(const popup::Disposition &d)
|
|
{
|
|
this->disposition = d;
|
|
}
|
|
} // namespace gui
|