2016-03-14 14:28:49 +01:00
|
|
|
#pragma once
|
2010-05-05 18:40:30 +02:00
|
|
|
|
|
|
|
|
#include "%PluginName:l%_global.%CppHeaderSuffix%"
|
|
|
|
|
|
|
|
|
|
#include <extensionsystem/iplugin.h>
|
|
|
|
|
|
|
|
|
|
namespace %PluginName% {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
2013-03-14 17:20:16 +01:00
|
|
|
class %PluginName%Plugin : public ExtensionSystem::IPlugin
|
2010-05-05 18:40:30 +02:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
2013-02-20 08:23:15 +01:00
|
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "%PluginName%.json")
|
2010-05-05 18:40:30 +02:00
|
|
|
|
|
|
|
|
public:
|
2010-12-07 12:24:30 +01:00
|
|
|
%PluginName%Plugin();
|
|
|
|
|
~%PluginName%Plugin();
|
2010-05-05 18:40:30 +02:00
|
|
|
|
|
|
|
|
bool initialize(const QStringList &arguments, QString *errorString);
|
|
|
|
|
void extensionsInitialized();
|
2010-07-13 14:35:37 +02:00
|
|
|
ShutdownFlag aboutToShutdown();
|
2010-05-06 11:55:53 +02:00
|
|
|
|
2016-05-31 22:34:23 +03:00
|
|
|
private:
|
2010-05-06 11:55:53 +02:00
|
|
|
void triggerAction();
|
2010-05-05 18:40:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace %PluginName%
|