11 #include "profiles/Profile.h" 12 #include "settings/dialogs/GUIDialogSettingsManualBase.h" 20 static bool ShowAndGetLock(LockType &lockMode, std::string &password,
int header = 20091);
21 static bool ShowAndGetLock(
CProfile::CLock &locks,
int buttonLabel = 20091,
bool conditional =
false,
bool details =
true);
22 static bool ShowAndGetUserAndPassword(std::string &user, std::string &password,
const std::string &url,
bool *saveUserDetails);
26 void OnSettingChanged(
const std::shared_ptr<const CSetting>& setting)
override;
27 void OnSettingAction(
const std::shared_ptr<const CSetting>& setting)
override;
30 bool AllowResettingSettings()
const override {
return false; }
31 bool Save()
override {
return true; }
32 void OnCancel()
override;
33 void SetupView()
override;
36 void InitializeSettings()
override;
39 std::string GetLockModeLabel();
40 void SetDetailSettingsEnabled(
bool enabled);
41 void SetSettingLockCodeLabel();
43 bool m_changed =
false;
48 bool m_details =
true;
49 bool m_conditionalDetails =
false;
50 bool m_getUser =
false;
51 bool* m_saveUserDetails;
52 int m_buttonLabel = 20091;
Definition: GUIDialogLockSettings.h:14
void OnSettingAction(const std::shared_ptr< const CSetting > &setting) override
The given setting has been activated.
Definition: GUIDialogLockSettings.cpp:140
void OnSettingChanged(const std::shared_ptr< const CSetting > &setting) override
The value of the given setting has changed.
Definition: GUIDialogLockSettings.cpp:108
Class for handling lock status.
Definition: Profile.h:24
Definition: GUIDialogSettingsManualBase.h:37