LP-56 - Better txpid option namings, fix tabs-spaces, tooltips. headers, variable...
[librepilot.git] / ground / openpilotgcs / src / plugins / coreplugin / iconfigurableplugin.h
blob2dd4816a0d1dc3d8a7c4e30d4a3c95c7459ac0aa
1 #ifndef ICONFIGURABLEPLUGIN_H
2 #define ICONFIGURABLEPLUGIN_H
4 #include <QObject>
5 #include <QSettings>
6 #include <extensionsystem/iplugin.h>
7 #include <coreplugin/uavconfiginfo.h>
9 #include <coreplugin/core_global.h>
11 namespace Core {
12 class CORE_EXPORT IConfigurablePlugin : public ExtensionSystem::IPlugin {
13 Q_OBJECT
14 public:
15 // IConfigurablePlugin(QObject *parent = 0){}
16 virtual ~IConfigurablePlugin() {}
17 virtual void readConfig(QSettings *qSettings, UAVConfigInfo *configInfo) = 0;
18 virtual void saveConfig(QSettings *qSettings, Core::UAVConfigInfo *configInfo) = 0;
20 } // namespace Core
22 #endif // ICONFIGURABLEPLUGIN_H