Merged in f5soh/librepilot/update_credits (pull request #529)
[librepilot.git] / ground / gcs / src / plugins / pathactioneditor / pathactioneditorplugin.cpp
blobfefdaa1a95dd328ac74dce00f93e0773b6137004
1 /**
2 ******************************************************************************
3 * @file pathactioneditorplugin.cpp
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
26 #include "pathactioneditorplugin.h"
27 #include "pathactioneditorgadgetfactory.h"
28 #include <QDebug>
29 #include <QtPlugin>
30 #include <QStringList>
31 #include <extensionsystem/pluginmanager.h>
34 PathActionEditorPlugin::PathActionEditorPlugin()
36 // Do nothing
39 PathActionEditorPlugin::~PathActionEditorPlugin()
41 // Do nothing
44 bool PathActionEditorPlugin::initialize(const QStringList & args, QString *errMsg)
46 Q_UNUSED(args);
47 Q_UNUSED(errMsg);
48 mf = new PathActionEditorGadgetFactory(this);
49 addAutoReleasedObject(mf);
51 return true;
54 void PathActionEditorPlugin::extensionsInitialized()
56 // Do nothing
59 void PathActionEditorPlugin::shutdown()
61 // Do nothing
63 /**
64 * @}
65 * @}