21 lines
655 B
C++
21 lines
655 B
C++
#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
|