OP-1900 have path_progress updated correctly for leg_remaining and error_below end...
[librepilot.git] / ground / openpilotgcs / src / plugins / flightlog / flightlogplugin.h
blob76a04e283ec64ad974dff1c5d352c132a6ee0baa
1 /**
2 ******************************************************************************
4 * @file flightlogplugin.h
5 * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2010.
6 * @addtogroup GCSPlugins GCS Plugins
7 * @{
8 * @brief A plugin to view and download flight side logs.
9 *****************************************************************************/
11 * This program is free software; you can redistribute it and/or modify
12 * it under the terms of the GNU General Public License as published by
13 * the Free Software Foundation; either version 3 of the License, or
14 * (at your option) any later version.
16 * This program is distributed in the hope that it will be useful, but
17 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
18 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
19 * for more details.
21 * You should have received a copy of the GNU General Public License along
22 * with this program; if not, write to the Free Software Foundation, Inc.,
23 * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
26 #ifndef FLIGHTLOGPLUGIN_H_
27 #define FLIGHTLOGPLUGIN_H_
29 #include <extensionsystem/iplugin.h>
30 #include "flightlogmanager.h"
31 #include <QQuickView>
33 class FlightLogPlugin : public ExtensionSystem::IPlugin {
34 Q_OBJECT
35 Q_PLUGIN_METADATA(IID "OpenPilot.FlightLog")
37 public:
38 FlightLogPlugin();
39 ~FlightLogPlugin();
41 void extensionsInitialized();
42 bool initialize(const QStringList & arguments, QString *errorString);
43 void shutdown();
45 private slots:
46 void ShowLogManagementDialog();
47 void LogManagementDialogClosed();
49 private:
50 QQuickView *m_logDialog;
53 #endif /* FLIGHTLOGPLUGIN_H_ */