1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-09 20:46:07 +01:00
LibrePilot/ground/src/plugins/map/mapplugin.cpp
ephy 29fef56372 GCS/empty,map,scope: Small changes to IUAVGadget force update of gadgets.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@360 ebee16cc-31ac-478f-84a7-5cbb03baadba
2010-03-21 16:53:08 +00:00

46 lines
662 B
C++

/*
* mapplugin.cpp
*
* Created on: Mar 6, 2010
* Author: peter
*/
#include "mapplugin.h"
#include "mapgadgetfactory.h"
#include <QDebug>
#include <QtPlugin>
#include <QStringList>
#include <extensionsystem/pluginmanager.h>
MapPlugin::MapPlugin()
{
// Do nothing
}
MapPlugin::~MapPlugin()
{
// Do nothing
}
bool MapPlugin::initialize(const QStringList& args, QString *errMsg)
{
Q_UNUSED(args);
Q_UNUSED(errMsg);
mf = new MapGadgetFactory(this);
addAutoReleasedObject(mf);
return true;
}
void MapPlugin::extensionsInitialized()
{
// Do nothing
}
void MapPlugin::shutdown()
{
// Do nothing
}
Q_EXPORT_PLUGIN(MapPlugin)