22 lines
503 B
C++
22 lines
503 B
C++
#ifndef VRCONFIG_H
|
|
#define VRCONFIG_H
|
|
|
|
#include "IVrConfig.h"
|
|
#include "tinyxml2.h"
|
|
|
|
class CVrConfig : public IVrConfig
|
|
{
|
|
public:
|
|
CVrConfig();
|
|
~CVrConfig() override;
|
|
|
|
int LoadConfig(const std::string& filePath, ConfigResult& configResult) override;
|
|
bool SaveConfig(const std::string& filePath, ConfigResult& configResult) override;
|
|
void SetConfigChangeNotify(IVrConfigChangeNotify* notify) override;
|
|
|
|
private:
|
|
IVrConfigChangeNotify* m_pNotify = nullptr;
|
|
};
|
|
|
|
#endif // VRCONFIG_H
|