21 lines
655 B
C
Raw Normal View History

2026-06-26 17:55:15 +08:00
#ifndef VR_DRONESCREWCTRL_CONFIG_IMPL_H
#define VR_DRONESCREWCTRL_CONFIG_IMPL_H
#include "IVrConfig.h"
class CVrDroneScrewCtrlConfig : public IDroneScrewCtrlConfig
{
public:
CVrDroneScrewCtrlConfig();
~CVrDroneScrewCtrlConfig() override;
int LoadConfig(const std::string& filePath, DroneScrewCtrlConfigResult& result) override;
bool SaveConfig(const std::string& filePath, const DroneScrewCtrlConfigResult& result) override;
void SetConfigChangeNotify(IDroneScrewCtrlConfigNotify* notify) override { m_pNotify = notify; }
private:
IDroneScrewCtrlConfigNotify* m_pNotify{nullptr};
};
#endif // VR_DRONESCREWCTRL_CONFIG_IMPL_H