1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-14 21:23:52 +01:00
LibrePilot/ground/openpilotgcs/src/plugins/coreplugin/iconfigurableplugin.h

26 lines
643 B
C
Raw Normal View History

#ifndef ICONFIGURABLEPLUGIN_H
#define ICONFIGURABLEPLUGIN_H
#include <QObject>
#include <QSettings>
#include <extensionsystem/iplugin.h>
#include <coreplugin/uavconfiginfo.h>
#include <coreplugin/core_global.h>
namespace Core {
class CORE_EXPORT IConfigurablePlugin : public ExtensionSystem::IPlugin
{
Q_OBJECT
public:
// IConfigurablePlugin(QObject *parent = 0){}
virtual ~IConfigurablePlugin() {}
virtual void readConfig( QSettings* qSettings, UAVConfigInfo *configInfo) = 0;
virtual void saveConfig(QSettings* qSettings, Core::UAVConfigInfo *configInfo) = 0;
};
} // namespace Core
#endif // ICONFIGURABLEPLUGIN_H