forked from qt-creator/qt-creator
Change-Id: I82ffa76bcb5850e8bda11d1daca3430e04e9695a Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
32 lines
736 B
C++
32 lines
736 B
C++
#ifndef %PluginName:u%_%CppHeaderSuffix:u%
|
|
#define %PluginName:u%_%CppHeaderSuffix:u%
|
|
|
|
#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 slots:
|
|
void triggerAction();
|
|
};
|
|
|
|
} // namespace Internal
|
|
} // namespace %PluginName%
|
|
|
|
#endif // %PluginName:u%_%CppHeaderSuffix:u%
|