// Copyright (c) 2017-2022, Mudita Sp. z.o.o. All rights reserved. // For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md #include "SimPINSettingsWindow.hpp" #include #include #include namespace gui { SimPINSettingsWindow::SimPINSettingsWindow(app::ApplicationCommon *app, std::unique_ptr simPINPresenter) : BaseSettingsWindow(app, window::name::sim_pin_settings), presenter(std::move(simPINPresenter)) { presenter->attach(this); presenter->requestLockState(); } void SimPINSettingsWindow::onBeforeShow(ShowMode mode, SwitchData *data) { presenter->onBeforeShow(mode, data); } auto SimPINSettingsWindow::buildOptionsList() -> std::list