40 lines
1006 B
C
Raw Permalink Normal View History

2026-01-13 08:31:31 +08:00
#ifndef VRCONFIG_H
#define VRCONFIG_H
#include "IVrConfig.h"
#include "tinyxml2.h"
class CVrConfig : public IVrConfig
{
public:
CVrConfig();
virtual ~CVrConfig();
/**
* @brief
* @param filePath
* @param configResult
* @return
*/
virtual int LoadConfig(const std::string& filePath, ConfigResult& configResult) override;
/**
* @brief
* @param filePath
* @param configResult
* @return
*/
virtual bool SaveConfig(const std::string& filePath, ConfigResult& configResult) override;
/**
* @brief
* @param notify
*/
virtual void SetConfigChangeNotify(IVrConfigChangeNotify* notify) override;
private:
IVrConfigChangeNotify* m_pNotify;
};
#endif // VRCONFIG_H