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