Files
PS2Recomp/ps2xRecomp/include/ps2recomp/config_manager.h
T
M. Sami Gürpınar c218c64348 Made member methods const (#34)
* 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
2026-01-31 13:14:56 -03:00

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