OP-1900 have path_progress updated correctly for leg_remaining and error_below end...
[librepilot.git] / ground / openpilotgcs / src / plugins / osgearthview / osgearthviewgadget.h
bloba02925c86ce9866d0cf2b4b5b63b275be537e151
1 /********************************************************************************
3 * @file osgearthviewgadget.h
4 * @author The OpenPilot Team Copyright (C) 2012.
5 * @addtogroup GCSPlugins GCS Plugins
6 * @{
7 * @addtogroup OsgEarthview Plugin
8 * @{
9 * @brief Osg Earth view of UAV
10 *****************************************************************************/
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 3 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20 * for more details.
22 * You should have received a copy of the GNU General Public License along
23 * with this program; if not, write to the Free Software Foundation, Inc.,
24 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
27 #ifndef OSGEARTHVIEWGADGET_H_
28 #define OSGEARTHVIEWGADGET_H_
30 #include <coreplugin/iuavgadget.h>
31 #include "osgearthviewwidget.h"
33 class IUAVGadget;
34 class QWidget;
35 class QString;
36 class OsgEarthviewWidget;
38 using namespace Core;
40 class OsgEarthviewGadget : public Core::IUAVGadget {
41 Q_OBJECT
42 public:
43 OsgEarthviewGadget(QString classId, OsgEarthviewWidget *widget, QWidget *parent = 0);
44 ~OsgEarthviewGadget();
46 QWidget *widget()
48 return m_widget;
50 void loadConfiguration(IUAVGadgetConfiguration *config);
52 private:
53 OsgEarthviewWidget *m_widget;
57 #endif // OSGEARTHVIEWGADGET_H_