2010-06-21 15:27:59 +02:00
|
|
|
#include "donothingplugin.h"
|
|
|
|
|
|
|
|
|
|
#include <QtPlugin>
|
|
|
|
|
#include <QStringList>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DoNothingPlugin::DoNothingPlugin()
|
|
|
|
|
{
|
|
|
|
|
// Do nothing
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
DoNothingPlugin::~DoNothingPlugin()
|
|
|
|
|
{
|
|
|
|
|
// Do notning
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
void DoNothingPlugin::extensionsInitialized()
|
|
|
|
|
{
|
|
|
|
|
// Do nothing
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
bool DoNothingPlugin::initialize(const QStringList& args, QString *errMsg)
|
|
|
|
|
{
|
|
|
|
|
Q_UNUSED(args);
|
|
|
|
|
Q_UNUSED(errMsg);
|
|
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
|
2010-07-15 20:28:53 +02:00
|
|
|
ExtensionSystem::IPlugin::ShutdownFlag DoNothingPlugin::shutdown()
|
2010-06-21 15:27:59 +02:00
|
|
|
{
|
2010-07-15 20:28:53 +02:00
|
|
|
return SynchronousShutdown;
|
2010-06-21 15:27:59 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
Q_EXPORT_PLUGIN(DoNothingPlugin)
|