11 #include "IPowerSyscall.h" 49 static void SettingOptionsShutdownStatesFiller(
const std::shared_ptr<const CSetting>& setting,
50 std::vector<IntegerSettingOption>& list,
54 IPowerSyscall* GetPowerSyscall()
const {
return m_instance.get(); }
57 void OnSleep()
override;
58 void OnWake()
override;
59 void OnLowBattery()
override;
60 void RestorePlayerState();
61 void StorePlayerState();
64 std::shared_ptr<CSettings> m_settings;
66 std::unique_ptr<IPowerSyscall> m_instance;
67 std::unique_ptr<CFileItem> m_lastPlayedFileItem;
68 std::string m_lastUsedPlayer;
Wrapper around CSettingsManager responsible for properly setting up the settings manager and register...
Definition: Settings.h:27
Definition: IPowerSyscall.h:11
Setting base class containing all the properties which are common to all settings independent of the ...
Definition: Setting.h:46
Definition: PowerManager.h:26
Definition: IPowerSyscall.h:25
Definition: SettingDefinitions.h:66
Represents a file on a share.
Definition: FileItem.h:102