10 virtual void Load(
void* a_data,
bool a_isBase) = 0;
11 virtual void Save(
void* a_data) = 0;
17 virtual void Init(
const char* a_file,
const char* a_fileCustom) = 0;
23 template <
class T,
class Store>
34 Store::GetSingleton()->Register(
this);
55 virtual void Init(
const char* a_fileBase,
const char* a_fileUser)
override
virtual void Register(ISetting *a_setting)=0
virtual void Init(const char *a_file, const char *a_fileCustom)=0
virtual void Load(void *a_data, bool a_isBase)=0
virtual void Save(void *a_data)=0
std::vector< ISetting * > m_settings
Definition Setting.h:69
virtual void Register(ISetting *a_setting) override
Definition Setting.h:61
std::string_view m_fileUser
Definition Setting.h:68
virtual void Init(const char *a_fileBase, const char *a_fileUser) override
Definition Setting.h:55
std::string_view m_fileBase
Definition Setting.h:67
TSetting(T a_default)
Definition Setting.h:30
T GetValue() const
Definition Setting.h:38
T GetValueDefault() const
Definition Setting.h:40
void SetValue(T a_value)
Definition Setting.h:42
T m_valueDefault
Definition Setting.h:46
T m_value
Definition Setting.h:45
Definition BSDirectInputManager.h:8