2016-06-05 01:32:57 +00:00
|
|
|
#pragma once
|
2021-10-17 18:44:07 +00:00
|
|
|
#include <Project64-core\Settings\SettingsID.h>
|
|
|
|
#include <string>
|
|
|
|
#include <map>
|
2016-06-05 01:32:57 +00:00
|
|
|
|
|
|
|
class CJniBridegSettings
|
|
|
|
{
|
2021-10-17 18:44:07 +00:00
|
|
|
typedef std::map<std::string, SettingID> SettingNameList;
|
|
|
|
|
2016-06-05 01:32:57 +00:00
|
|
|
public:
|
2021-10-17 18:44:07 +00:00
|
|
|
CJniBridegSettings();
|
|
|
|
~CJniBridegSettings();
|
|
|
|
|
|
|
|
SettingID TranslateSettingID(const char * SettingName);
|
|
|
|
static inline bool bCPURunning ( void) { return m_bCPURunning; }
|
2016-06-05 01:32:57 +00:00
|
|
|
|
|
|
|
private:
|
2021-10-17 18:44:07 +00:00
|
|
|
SettingNameList m_SettingNameList;
|
|
|
|
|
|
|
|
static void RefreshSettings (void *);
|
|
|
|
|
|
|
|
static bool m_bCPURunning;
|
2016-06-05 01:32:57 +00:00
|
|
|
|
2021-10-17 18:44:07 +00:00
|
|
|
static int m_RefCount;
|
2016-06-05 01:32:57 +00:00
|
|
|
};
|