Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / plugins / pathactioneditor / pathactioneditorplugin.h
blob47139918b14498c791a49c0aa136cef67dd34f04
1 /**
2 ******************************************************************************
3 * @file pathactioneditorplugin.h
4 * @author The OpenPilot Team, http://www.openpilot.org Copyright (C) 2012.
5 * @addtogroup PathAction Editor GCS Plugins
6 * @{
7 * @addtogroup PathActionEditorGadgetPlugin PathAction Editor Gadget Plugin
8 * @{
9 * @brief A gadget to edit a list of pathactions
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 PathActionEditorPLUGIN_H_
28 #define PathActionEditorPLUGIN_H_
30 #include <extensionsystem/iplugin.h>
32 class PathActionEditorGadgetFactory;
34 class PathActionEditorPlugin : public ExtensionSystem::IPlugin {
35 Q_OBJECT
36 Q_PLUGIN_METADATA(IID "OpenPilot.PathActionEditor")
38 public:
39 PathActionEditorPlugin();
40 ~PathActionEditorPlugin();
42 void extensionsInitialized();
43 bool initialize(const QStringList & arguments, QString *errorString);
44 void shutdown();
45 private:
46 PathActionEditorGadgetFactory *mf;
49 #endif /* PathActionEditorPLUGIN_H_ */