mirror of
https://github.com/ran-j/PS2Recomp.git
synced 2026-09-26 16:59:35 -04:00
c218c64348
* refactor: update function name checks to use contains method * refactor: update code generation to use static_cast * refactor: made member methods const * refactor: made range-based loop * refactor: make one variable constructor explicit * refactor: remove redundant else * refactor: turn includes to forward declarations * refactor: brace placements turned into allman style
25 lines
474 B
C++
25 lines
474 B
C++
#ifndef PS2RECOMP_CONFIG_MANAGER_H
|
|
#define PS2RECOMP_CONFIG_MANAGER_H
|
|
|
|
#include "ps2recomp/types.h"
|
|
#include <string>
|
|
|
|
namespace ps2recomp
|
|
{
|
|
|
|
class ConfigManager
|
|
{
|
|
public:
|
|
explicit ConfigManager(const std::string &configPath);
|
|
~ConfigManager();
|
|
|
|
RecompilerConfig loadConfig() const;
|
|
void saveConfig(const RecompilerConfig &config) const;
|
|
|
|
private:
|
|
std::string m_configPath;
|
|
};
|
|
|
|
}
|
|
|
|
#endif // PS2RECOMP_CONFIG_MANAGER_H
|