mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-14 21:23:52 +01:00
25 lines
630 B
C
25 lines
630 B
C
|
#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
|
||
|
{
|
||
|
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
|