mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-01-26 06:52:14 -05:00
28 lines
1.1 KiB
C++
28 lines
1.1 KiB
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 <application-settings/windows/BaseSettingsWindow.hpp>
|
|
#include <application-settings/presenter/network/SimPINSettingsPresenter.hpp>
|
|
|
|
namespace gui
|
|
{
|
|
class SimPINSettingsWindow : public BaseSettingsWindow, public SimPINSettingsWindowContract::View
|
|
{
|
|
public:
|
|
explicit SimPINSettingsWindow(app::ApplicationCommon *app,
|
|
std::unique_ptr<SimPINSettingsWindowContract::Presenter> simPINPresenter);
|
|
|
|
private:
|
|
auto buildOptionsList() -> std::list<Option> override;
|
|
void onBeforeShow(ShowMode mode, SwitchData *data) override;
|
|
void setNavbarCenterActive(bool state) override;
|
|
void setTitle(const UTF8 &text) override;
|
|
void refreshOptionsList() override;
|
|
|
|
std::unique_ptr<SimPINSettingsWindowContract::Presenter> presenter;
|
|
OptionWindowDestroyer rai_destroyer = OptionWindowDestroyer(*this);
|
|
};
|
|
} // namespace gui
|