From 9c042a35f4bf8cb705ae5c4589b7cca2d3309f6f Mon Sep 17 00:00:00 2001 From: ephy Date: Wed, 24 Mar 2010 19:50:09 +0000 Subject: [PATCH] GCS/empty,map,scope: Updates to gadgets from interface changes. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@380 ebee16cc-31ac-478f-84a7-5cbb03baadba --- .../src/plugins/emptygadget/emptygadget.cpp | 37 +++++++++++++----- ground/src/plugins/emptygadget/emptygadget.h | 33 ++++++++++++---- .../emptygadget/emptygadgetfactory.cpp | 39 ++++++++++++++----- .../plugins/emptygadget/emptygadgetfactory.h | 30 +++++++++++--- .../plugins/emptygadget/emptygadgetwidget.cpp | 28 +++++++++++-- .../plugins/emptygadget/emptygadgetwidget.h | 28 +++++++++++-- .../src/plugins/emptygadget/emptyplugin.cpp | 28 +++++++++++-- ground/src/plugins/emptygadget/emptyplugin.h | 28 +++++++++++-- ground/src/plugins/map/map.pro | 24 ++++++------ ground/src/plugins/map/mapgadget.cpp | 9 ++--- ground/src/plugins/map/mapgadget.h | 4 +- ground/src/plugins/map/mapgadgetfactory.cpp | 26 ++++++++++--- ground/src/plugins/map/mapgadgetfactory.h | 11 +++++- ground/src/plugins/scope/scopegadget.cpp | 9 ++--- ground/src/plugins/scope/scopegadget.h | 4 +- .../src/plugins/scope/scopegadgetfactory.cpp | 11 +++--- ground/src/plugins/scope/scopegadgetfactory.h | 2 +- 17 files changed, 260 insertions(+), 91 deletions(-) diff --git a/ground/src/plugins/emptygadget/emptygadget.cpp b/ground/src/plugins/emptygadget/emptygadget.cpp index 583a7b6bf..e48b624a6 100644 --- a/ground/src/plugins/emptygadget/emptygadget.cpp +++ b/ground/src/plugins/emptygadget/emptygadget.cpp @@ -1,19 +1,36 @@ -/* - * emptygadget.cpp +/** + ****************************************************************************** * - * Created on: Mar 11, 2010 - * Author: peter + * @file emptygadget.cpp + * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. + * @brief + * @see The GNU Public License (GPL) Version 3 + * @defgroup emptygadget + * @{ + * + *****************************************************************************/ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "emptygadget.h" #include "emptygadgetwidget.h" -#include -EmptyGadget::EmptyGadget(EmptyGadgetWidget *widget) : - IUAVGadget(widget), - m_widget(widget), - m_toolbar(new QToolBar()) +EmptyGadget::EmptyGadget(QString classId, QList *configurations, EmptyGadgetWidget *widget) : + IUAVGadget(classId, configurations, widget), + m_widget(widget) { - m_gadgetKind = QString("EmptyGadget"); } EmptyGadget::~EmptyGadget() diff --git a/ground/src/plugins/emptygadget/emptygadget.h b/ground/src/plugins/emptygadget/emptygadget.h index 4b9f647dc..08b2cf14a 100644 --- a/ground/src/plugins/emptygadget/emptygadget.h +++ b/ground/src/plugins/emptygadget/emptygadget.h @@ -1,8 +1,28 @@ -/* - * emptygadget.h +/** + ****************************************************************************** * - * Created on: Mar 11, 2010 - * Author: peter + * @file emptygadget.h + * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. + * @brief + * @see The GNU Public License (GPL) Version 3 + * @defgroup emptygadget + * @{ + * + *****************************************************************************/ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef EMPTYGADGET_H_ @@ -11,7 +31,6 @@ #include class IUAVGadget; -//class QList; class QWidget; class QString; class EmptyGadgetWidget; @@ -22,17 +41,15 @@ class EmptyGadget : public Core::IUAVGadget { Q_OBJECT public: - EmptyGadget(EmptyGadgetWidget *widget = 0); + EmptyGadget(QString classId, QList *configurations, EmptyGadgetWidget *widget = 0); ~EmptyGadget(); QList context() const { return m_context; } QWidget *widget() { return m_widget; } QString contextHelpId() const { return QString(); } - QWidget *toolBar() { return m_toolbar; } private: QWidget *m_widget; - QWidget *m_toolbar; QList m_context; }; diff --git a/ground/src/plugins/emptygadget/emptygadgetfactory.cpp b/ground/src/plugins/emptygadget/emptygadgetfactory.cpp index 0d315856d..b05067856 100644 --- a/ground/src/plugins/emptygadget/emptygadgetfactory.cpp +++ b/ground/src/plugins/emptygadget/emptygadgetfactory.cpp @@ -1,18 +1,39 @@ -/* - * emptygadgetfactory.cpp +/** + ****************************************************************************** * - * Created on: Mar 11, 2010 - * Author: peter + * @file emptygadgetfactory.cpp + * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. + * @brief + * @see The GNU Public License (GPL) Version 3 + * @defgroup emptygadget + * @{ + * + *****************************************************************************/ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "emptygadgetfactory.h" #include "emptygadgetwidget.h" #include "emptygadget.h" #include -EmptyGadgetFactory::EmptyGadgetFactory(QObject *parent) : IUAVGadgetFactory(parent) +EmptyGadgetFactory::EmptyGadgetFactory(QObject *parent) : + IUAVGadgetFactory(QString("EmptyGadget"), + tr("Choose Gadget..."), + parent) { - m_name = tr("Choose gadget..."); - m_gadgetKind = QString("EmptyGadget"); } EmptyGadgetFactory::~EmptyGadgetFactory() @@ -20,7 +41,7 @@ EmptyGadgetFactory::~EmptyGadgetFactory() } -Core::IUAVGadget* EmptyGadgetFactory::createUAVGadget(QWidget *parent) { +Core::IUAVGadget* EmptyGadgetFactory::createUAVGadget(QList *configurations, QWidget *parent) { EmptyGadgetWidget* gadgetWidget = new EmptyGadgetWidget(parent); - return new EmptyGadget(gadgetWidget); + return new EmptyGadget(QString("EmptyGadget"), configurations, gadgetWidget); } diff --git a/ground/src/plugins/emptygadget/emptygadgetfactory.h b/ground/src/plugins/emptygadget/emptygadgetfactory.h index 4279b78c7..0f0c01e7b 100644 --- a/ground/src/plugins/emptygadget/emptygadgetfactory.h +++ b/ground/src/plugins/emptygadget/emptygadgetfactory.h @@ -1,8 +1,28 @@ -/* - * emptygadgetfactory.h +/** + ****************************************************************************** * - * Created on: Mar 6, 2010 - * Author: peter + * @file emptygadgetfactory.h + * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. + * @brief + * @see The GNU Public License (GPL) Version 3 + * @defgroup emptygadget + * @{ + * + *****************************************************************************/ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef EMPTYGADGETFACTORY_H_ @@ -21,7 +41,7 @@ public: EmptyGadgetFactory(QObject *parent = 0); ~EmptyGadgetFactory(); - Core::IUAVGadget *createUAVGadget(QWidget *parent); + Core::IUAVGadget *createUAVGadget(QList *configurations, QWidget *parent); }; #endif // EMPTYGADGETFACTORY_H_ diff --git a/ground/src/plugins/emptygadget/emptygadgetwidget.cpp b/ground/src/plugins/emptygadget/emptygadgetwidget.cpp index 3524e0293..f64fb4f9d 100644 --- a/ground/src/plugins/emptygadget/emptygadgetwidget.cpp +++ b/ground/src/plugins/emptygadget/emptygadgetwidget.cpp @@ -1,8 +1,28 @@ -/* - * emptygadgetwidget.cpp +/** + ****************************************************************************** * - * Created on: Mar 6, 2010 - * Author: peter + * @file emptygadgetwidget.cpp + * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. + * @brief + * @see The GNU Public License (GPL) Version 3 + * @defgroup emptygadget + * @{ + * + *****************************************************************************/ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "emptygadgetwidget.h" diff --git a/ground/src/plugins/emptygadget/emptygadgetwidget.h b/ground/src/plugins/emptygadget/emptygadgetwidget.h index 4c9ac8a64..d95331dae 100644 --- a/ground/src/plugins/emptygadget/emptygadgetwidget.h +++ b/ground/src/plugins/emptygadget/emptygadgetwidget.h @@ -1,8 +1,28 @@ -/* - * emptygadgetwidget.h +/** + ****************************************************************************** * - * Created on: Mar 6, 2010 - * Author: peter + * @file emptygadgetwidget.h + * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. + * @brief + * @see The GNU Public License (GPL) Version 3 + * @defgroup emptygadget + * @{ + * + *****************************************************************************/ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef EMPTYGADGETWIDGET_H_ diff --git a/ground/src/plugins/emptygadget/emptyplugin.cpp b/ground/src/plugins/emptygadget/emptyplugin.cpp index 82f502086..528ed8b4a 100644 --- a/ground/src/plugins/emptygadget/emptyplugin.cpp +++ b/ground/src/plugins/emptygadget/emptyplugin.cpp @@ -1,8 +1,28 @@ -/* - * emptyplugin.cpp +/** + ****************************************************************************** * - * Created on: Mar 6, 2010 - * Author: peter + * @file emptyplugin.cpp + * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. + * @brief + * @see The GNU Public License (GPL) Version 3 + * @defgroup emptygadget + * @{ + * + *****************************************************************************/ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "emptyplugin.h" #include "emptygadgetfactory.h" diff --git a/ground/src/plugins/emptygadget/emptyplugin.h b/ground/src/plugins/emptygadget/emptyplugin.h index 08f247a3b..f189742a0 100644 --- a/ground/src/plugins/emptygadget/emptyplugin.h +++ b/ground/src/plugins/emptygadget/emptyplugin.h @@ -1,8 +1,28 @@ -/* - * emptyplugin.h +/** + ****************************************************************************** * - * Created on: Mar 6, 2010 - * Author: peter + * @file emptyplugin.h + * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010. + * @brief + * @see The GNU Public License (GPL) Version 3 + * @defgroup emptygadget + * @{ + * + *****************************************************************************/ +/* + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License + * for more details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef EMPTYPLUGIN_H_ diff --git a/ground/src/plugins/map/map.pro b/ground/src/plugins/map/map.pro index abaafda6a..fa3410e9f 100644 --- a/ground/src/plugins/map/map.pro +++ b/ground/src/plugins/map/map.pro @@ -1,18 +1,18 @@ -TEMPLATE = lib +TEMPLATE = lib TARGET = MapGadget - include(../../openpilotgcsplugin.pri) -include(../../plugins/coreplugin/coreplugin.pri) - +include(../../plugins/coreplugin/coreplugin.pri) include(../../libs/qmapcontrol/qmapcontrol.pri) - -HEADERS += mapplugin.h -HEADERS += mapgadget.h -HEADERS += mapgadgetwidget.h -HEADERS += mapgadgetfactory.h -SOURCES += mapplugin.cpp -SOURCES += mapgadget.cpp +HEADERS += mapplugin.h \ + mapgadgetconfiguration.h +HEADERS += mapgadget.h +HEADERS += mapgadgetwidget.h +HEADERS += mapgadgetfactory.h +HEADERS += mapgadgetoptionspage.h +SOURCES += mapplugin.cpp \ + mapgadgetconfiguration.cpp +SOURCES += mapgadget.cpp SOURCES += mapgadgetfactory.cpp SOURCES += mapgadgetwidget.cpp - +SOURCES += mapgadgetoptionspage.cpp OTHER_FILES += MapGadget.pluginspec diff --git a/ground/src/plugins/map/mapgadget.cpp b/ground/src/plugins/map/mapgadget.cpp index 0592ec606..1ad9ad7f5 100644 --- a/ground/src/plugins/map/mapgadget.cpp +++ b/ground/src/plugins/map/mapgadget.cpp @@ -6,14 +6,11 @@ */ #include "mapgadget.h" #include "mapgadgetwidget.h" -#include -MapGadget::MapGadget(MapGadgetWidget *widget) : - IUAVGadget(widget), - m_widget(widget), - m_toolbar(new QToolBar()) +MapGadget::MapGadget(QString classId, QList *configurations, MapGadgetWidget *widget) : + IUAVGadget(classId, configurations, widget), + m_widget(widget) { - m_gadgetKind = QString("MapGadget"); } MapGadget::~MapGadget() diff --git a/ground/src/plugins/map/mapgadget.h b/ground/src/plugins/map/mapgadget.h index a2ba8a571..49cbbd331 100644 --- a/ground/src/plugins/map/mapgadget.h +++ b/ground/src/plugins/map/mapgadget.h @@ -22,17 +22,15 @@ class MapGadget : public Core::IUAVGadget { Q_OBJECT public: - MapGadget(MapGadgetWidget *widget = 0); + MapGadget(QString classId, QList *configurations, MapGadgetWidget *widget = 0); ~MapGadget(); QList context() const { return m_context; } QWidget *widget() { return m_widget; } QString contextHelpId() const { return QString(); } - QWidget *toolBar() { return m_toolbar; } private: QWidget *m_widget; - QWidget *m_toolbar; QList m_context; }; diff --git a/ground/src/plugins/map/mapgadgetfactory.cpp b/ground/src/plugins/map/mapgadgetfactory.cpp index 46ccc34b1..3b2b14256 100644 --- a/ground/src/plugins/map/mapgadgetfactory.cpp +++ b/ground/src/plugins/map/mapgadgetfactory.cpp @@ -7,12 +7,15 @@ #include "mapgadgetfactory.h" #include "mapgadgetwidget.h" #include "mapgadget.h" +#include "mapgadgetconfiguration.h" +#include "mapgadgetoptionspage.h" #include -MapGadgetFactory::MapGadgetFactory(QObject *parent) : IUAVGadgetFactory(parent) +MapGadgetFactory::MapGadgetFactory(QObject *parent) : + IUAVGadgetFactory(QString("MapGadget"), + tr("Map Gadget"), + parent) { - m_name = tr("Map Gadget"); - m_gadgetKind = QString("MapGadget"); } MapGadgetFactory::~MapGadgetFactory() @@ -20,7 +23,20 @@ MapGadgetFactory::~MapGadgetFactory() } -Core::IUAVGadget* MapGadgetFactory::createUAVGadget(QWidget *parent) { +Core::IUAVGadget* MapGadgetFactory::createUAVGadget(QList *configurations, QWidget *parent) { MapGadgetWidget* gadgetWidget = new MapGadgetWidget(parent); - return new MapGadget(gadgetWidget); + return new MapGadget(QString("MapGadget"), configurations, gadgetWidget); } + +IUAVGadgetConfiguration *MapGadgetFactory::createUAVGadgetConfiguration(bool locked, + const QString configName, + const QByteArray &state) +{ + return new MapGadgetConfiguration(locked, QString("MapGadget"), configName, state); +} + +UAVGadgetOptionsPage *MapGadgetFactory::createUAVGadgetOptionsPage(IUAVGadgetConfiguration *config) +{ + return new MapGadgetOptionsPage(config); +} + diff --git a/ground/src/plugins/map/mapgadgetfactory.h b/ground/src/plugins/map/mapgadgetfactory.h index 4bc964042..d114bd1f9 100644 --- a/ground/src/plugins/map/mapgadgetfactory.h +++ b/ground/src/plugins/map/mapgadgetfactory.h @@ -10,9 +10,12 @@ #include -using namespace Core; +namespace Core { class IUAVGadget; class IUAVGadgetFactory; +} + +using namespace Core; class MapGadgetFactory : public Core::IUAVGadgetFactory { @@ -21,7 +24,11 @@ public: MapGadgetFactory(QObject *parent = 0); ~MapGadgetFactory(); - Core::IUAVGadget *createUAVGadget(QWidget *parent); + Core::IUAVGadget *createUAVGadget(QList *configurations, QWidget *parent); + IUAVGadgetConfiguration *createUAVGadgetConfiguration(bool locked, + const QString configName, + const QByteArray &state); + UAVGadgetOptionsPage *createUAVGadgetOptionsPage(IUAVGadgetConfiguration *config); }; #endif // MAPGADGETFACTORY_H_ diff --git a/ground/src/plugins/scope/scopegadget.cpp b/ground/src/plugins/scope/scopegadget.cpp index a50128ce8..5a40558a5 100644 --- a/ground/src/plugins/scope/scopegadget.cpp +++ b/ground/src/plugins/scope/scopegadget.cpp @@ -6,14 +6,11 @@ */ #include "scopegadget.h" #include "scopegadgetwidget.h" -#include -ScopeGadget::ScopeGadget(ScopeGadgetWidget *widget) : - IUAVGadget(widget), - m_widget(widget), - m_toolbar(new QToolBar()) +ScopeGadget::ScopeGadget(QString classId, QList *configurations, ScopeGadgetWidget *widget) : + IUAVGadget(classId, configurations, widget), + m_widget(widget) { - m_gadgetKind = QString("ScopeGadget"); } ScopeGadget::~ScopeGadget() diff --git a/ground/src/plugins/scope/scopegadget.h b/ground/src/plugins/scope/scopegadget.h index 8136c8e54..08509c0b7 100644 --- a/ground/src/plugins/scope/scopegadget.h +++ b/ground/src/plugins/scope/scopegadget.h @@ -22,17 +22,15 @@ class ScopeGadget : public Core::IUAVGadget { Q_OBJECT public: - ScopeGadget(ScopeGadgetWidget *widget = 0); + ScopeGadget(QString classId, QList *configurations, ScopeGadgetWidget *widget = 0); ~ScopeGadget(); QList context() const { return m_context; } QWidget *widget() { return m_widget; } QString contextHelpId() const { return QString(); } - QWidget *toolBar() { return m_toolbar; } private: QWidget *m_widget; - QWidget *m_toolbar; QList m_context; }; diff --git a/ground/src/plugins/scope/scopegadgetfactory.cpp b/ground/src/plugins/scope/scopegadgetfactory.cpp index 9db994206..6e1317281 100644 --- a/ground/src/plugins/scope/scopegadgetfactory.cpp +++ b/ground/src/plugins/scope/scopegadgetfactory.cpp @@ -9,10 +9,11 @@ #include "scopegadget.h" #include -ScopeGadgetFactory::ScopeGadgetFactory(QObject *parent) : IUAVGadgetFactory(parent) +ScopeGadgetFactory::ScopeGadgetFactory(QObject *parent) : + IUAVGadgetFactory(QString("ScopeGadget"), + tr("Scope Gadget"), + parent) { - m_name = tr("Scope Gadget"); - m_gadgetKind = QString("ScopeGadget"); } ScopeGadgetFactory::~ScopeGadgetFactory() @@ -20,7 +21,7 @@ ScopeGadgetFactory::~ScopeGadgetFactory() } -Core::IUAVGadget* ScopeGadgetFactory::createUAVGadget(QWidget *parent) { +Core::IUAVGadget* ScopeGadgetFactory::createUAVGadget(QList *configurations, QWidget *parent) { ScopeGadgetWidget* gadgetWidget = new ScopeGadgetWidget(parent); - return new ScopeGadget(gadgetWidget); + return new ScopeGadget(QString("ScopeGadget"), configurations, gadgetWidget); } diff --git a/ground/src/plugins/scope/scopegadgetfactory.h b/ground/src/plugins/scope/scopegadgetfactory.h index d0e377f2b..0a209892f 100644 --- a/ground/src/plugins/scope/scopegadgetfactory.h +++ b/ground/src/plugins/scope/scopegadgetfactory.h @@ -21,7 +21,7 @@ public: ScopeGadgetFactory(QObject *parent = 0); ~ScopeGadgetFactory(); - Core::IUAVGadget *createUAVGadget(QWidget *parent); + Core::IUAVGadget *createUAVGadget(QList *configurations, QWidget *parent); }; #endif // SCOPEGADGETFACTORY_H_