forked from qt-creator/qt-creator
Move the plugin examples to subdir of pluginhowto.
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
#include "customprojectplugin.h"
|
||||
#include "customprojectwizard.h"
|
||||
|
||||
#include <QtPlugin>
|
||||
#include <QStringList>
|
||||
|
||||
CustomProjectPlugin::CustomProjectPlugin()
|
||||
{
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
CustomProjectPlugin::~CustomProjectPlugin()
|
||||
{
|
||||
// Do notning
|
||||
}
|
||||
|
||||
void CustomProjectPlugin::extensionsInitialized()
|
||||
{
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
bool CustomProjectPlugin::initialize(const QStringList& args, QString *errMsg)
|
||||
{
|
||||
Q_UNUSED(args);
|
||||
Q_UNUSED(errMsg);
|
||||
|
||||
addAutoReleasedObject(new CustomProjectWizard);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void CustomProjectPlugin::shutdown()
|
||||
{
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
Q_EXPORT_PLUGIN(CustomProjectPlugin)
|
||||
Reference in New Issue
Block a user