mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-13 20:48:42 +01:00
eab8421e5f
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2732 ebee16cc-31ac-478f-84a7-5cbb03baadba
26 lines
643 B
C++
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
|