forked from qt-creator/qt-creator
Change-Id: Ibe5d1543e99644ff2c07146b9a83d9fe5b4121e1 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
29 lines
611 B
C++
29 lines
611 B
C++
#pragma once
|
|
|
|
#include "%PluginName:l%_global.%CppHeaderSuffix%"
|
|
|
|
#include <extensionsystem/iplugin.h>
|
|
|
|
namespace %PluginName% {
|
|
namespace Internal {
|
|
|
|
class %PluginName%Plugin : public ExtensionSystem::IPlugin
|
|
{
|
|
Q_OBJECT
|
|
Q_PLUGIN_METADATA(IID "org.qt-project.Qt.QtCreatorPlugin" FILE "%PluginName%.json")
|
|
|
|
public:
|
|
%PluginName%Plugin();
|
|
~%PluginName%Plugin();
|
|
|
|
bool initialize(const QStringList &arguments, QString *errorString);
|
|
void extensionsInitialized();
|
|
ShutdownFlag aboutToShutdown();
|
|
|
|
private:
|
|
void triggerAction();
|
|
};
|
|
|
|
} // namespace Internal
|
|
} // namespace %PluginName%
|