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
erhard eab8421e5f OP-99 gcs Import/Export Plugin: Support configurable plugins
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2732 ebee16cc-31ac-478f-84a7-5cbb03baadba
2011-02-05 14:01:18 +00:00

26 lines
643 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
{
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