Added detection of battery and proceeds to load battery profile
This commit is contained in:
parent
5c9a3256d6
commit
1a1b445302
2 changed files with 26 additions and 10 deletions
|
@ -38,18 +38,17 @@ public:
|
|||
private:
|
||||
void CreateDefaultConfigFile();
|
||||
bool LoadSettingsFromConfig();
|
||||
|
||||
bool LoadSection(const FConfigFile& ConfigFile, const TPair<EProfile, FName> Profile);
|
||||
|
||||
void SaveSection(FSettingsProfile& SettingsProfile, const bool bFlush = false) const;
|
||||
|
||||
void LoadDefaults();
|
||||
|
||||
void DebugPrintProfiles() const;
|
||||
static void PrintDebugSection(FSettingsProfile& SettingsProfile);
|
||||
void ApplyProfile(EProfile Profile);
|
||||
|
||||
static void ResetInstance();
|
||||
|
||||
// Debugging
|
||||
void DebugPrintProfiles() const;
|
||||
static void PrintDebugSection(FSettingsProfile& SettingsProfile);
|
||||
|
||||
static FString IniLocation;
|
||||
|
||||
TMap<EProfile, FName> ProfileNames = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue