dRonin
adbada4
dRonin GCS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Groups
Pages
openpilotplugin.cpp
Go to the documentation of this file.
1
14
/*
15
* This program is free software; you can redistribute it and/or modify
16
* it under the terms of the GNU General Public License as published by
17
* the Free Software Foundation; either version 3 of the License, or
18
* (at your option) any later version.
19
*
20
* This program is distributed in the hope that it will be useful, but
21
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
22
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
23
* for more details.
24
*
25
* You should have received a copy of the GNU General Public License along
26
* with this program; if not, see <http://www.gnu.org/licenses/>
27
*/
28
29
#include "
openpilotplugin.h
"
30
#include "
revolution.h
"
31
#include <QtPlugin>
32
33
OpenPilotPlugin::OpenPilotPlugin()
34
{
35
// Do nothing
36
}
37
38
OpenPilotPlugin::~OpenPilotPlugin()
39
{
40
// Do nothing
41
}
42
43
bool
OpenPilotPlugin::initialize(
const
QStringList &args, QString *errMsg)
44
{
45
Q_UNUSED(args);
46
Q_UNUSED(errMsg);
47
return
true
;
48
}
49
50
void
OpenPilotPlugin::extensionsInitialized()
51
{
56
Revolution
*revo =
new
Revolution
();
57
addAutoReleasedObject
(revo);
58
}
59
60
void
OpenPilotPlugin::shutdown()
61
{
62
}
revolution.h
openpilotplugin.h
ExtensionSystem::IPlugin::addAutoReleasedObject
void addAutoReleasedObject(QObject *obj)
Definition:
iplugin.cpp:306
Revolution
Definition:
revolution.h:34
ground
gcs
src
plugins
boards_openpilot
openpilotplugin.cpp
Generated by
1.8.6