mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
17 lines
398 B
C++
17 lines
398 B
C++
#pragma once
|
|
|
|
#include "Singleton.h"
|
|
|
|
class CSettingsManager : public CSingleton<CSettingsManager>
|
|
{
|
|
public:
|
|
void Save();
|
|
|
|
void RegisterPreferenceBoolean(const std::string&, bool);
|
|
bool GetPreferenceBoolean(const std::string&);
|
|
void SetPreferenceBoolean(const std::string&, bool);
|
|
int GetPreferenceInteger(const std::string&);
|
|
void SetPreferenceInteger(const std::string&, int);
|
|
|
|
private:
|
|
};
|