mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-02-06 20:33:00 -05:00
Secure all endpoints by returning 403(Forbidden) when USB is connected. Request screen passcode to enable secured endpoints.
22 lines
601 B
C++
22 lines
601 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;
|
|
|
|
bool lockScreenPasscodeIsOn;
|
|
app::settingsInterface::SecuritySettings *securitySettings;
|
|
};
|
|
} // namespace gui
|