2011-01-31 00:22:51 +01:00
|
|
|
#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
|
|
|
|
{
|
2011-02-05 15:01:18 +01:00
|
|
|
Q_OBJECT
|
2011-01-31 00:22:51 +01:00
|
|
|
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
|