2026-03-26 08:30:31 +08:00

26 lines
644 B
C++

#ifndef VRCONFIG_HOLEPITPOSITION_H
#define VRCONFIG_HOLEPITPOSITION_H
#include "IVrConfig.h"
#include "tinyxml2.h"
#include <string>
/**
* @brief 实现IVrConfig接口的配置类
*/
class CVrConfig : public IVrConfig
{
public:
CVrConfig();
virtual ~CVrConfig();
virtual int LoadConfig(const std::string& filePath, ConfigResult& configResult) override;
virtual bool SaveConfig(const std::string& filePath, ConfigResult& configResult) override;
virtual void SetConfigChangeNotify(IVrConfigChangeNotify* notify) override;
private:
IVrConfigChangeNotify* m_pNotify = nullptr;
};
#endif // VRCONFIG_HOLEPITPOSITION_H