mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-23 22:46:16 -04:00
Availability and Change in phoneLock handled by PhoneLockHandler. Removed old implementation from onBoarding and Settings. Cleared language assets.
23 lines
666 B
C++
23 lines
666 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 "BaseSettingsWindow.hpp"
|
|
|
|
namespace gui
|
|
{
|
|
class SecurityMainWindow : public BaseSettingsWindow
|
|
{
|
|
public:
|
|
explicit SecurityMainWindow(app::Application *app, app::settingsInterface::SecuritySettings *settings);
|
|
|
|
private:
|
|
auto buildOptionsList() -> std::list<Option> override;
|
|
void onBeforeShow(ShowMode mode, SwitchData *data) override;
|
|
|
|
bool isPhoneLockEnabled;
|
|
app::settingsInterface::SecuritySettings *securitySettings;
|
|
};
|
|
} // namespace gui
|