1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-08 19:46:06 +01:00
LibrePilot/ground/openpilotgcs/src/plugins/antennatrack/antennatrackplugin.cpp

35 lines
694 B
C++
Raw Normal View History

2013-04-05 22:46:56 +02:00
#include "antennatrackplugin.h"
#include "antennatrackgadgetfactory.h"
#include <QDebug>
#include <QtPlugin>
#include <QStringList>
#include <extensionsystem/pluginmanager.h>
AntennaTrackPlugin::AntennaTrackPlugin() {
// Do nothing
}
AntennaTrackPlugin::~AntennaTrackPlugin() {
// Do nothing
}
bool AntennaTrackPlugin::initialize(const QStringList& args, QString *errMsg) {
Q_UNUSED(args);
Q_UNUSED(errMsg);
mf = new AntennaTrackGadgetFactory(this);
addAutoReleasedObject(mf);
return true;
}
void AntennaTrackPlugin::extensionsInitialized() {
// Do nothing
}
void AntennaTrackPlugin::shutdown() {
// Do nothing
}
Q_EXPORT_PLUGIN(AntennaTrackPlugin)