1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-24 09:52:11 +01:00
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
686 B
C++

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