mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-24 09:52:11 +01:00
29fef56372
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@360 ebee16cc-31ac-478f-84a7-5cbb03baadba
46 lines
686 B
C++
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)
|
|
|