2010-05-05 18:40:30 +02:00
|
|
|
#ifndef %PluginName:u%_%CppHeaderSuffix:u%
|
|
|
|
|
#define %PluginName:u%_%CppHeaderSuffix:u%
|
|
|
|
|
|
|
|
|
|
#include "%PluginName:l%_global.%CppHeaderSuffix%"
|
|
|
|
|
|
|
|
|
|
#include <extensionsystem/iplugin.h>
|
|
|
|
|
|
|
|
|
|
namespace %PluginName% {
|
|
|
|
|
namespace Internal {
|
|
|
|
|
|
2010-12-07 12:24:30 +01:00
|
|
|
class %PluginName%Plugin : public ExtensionSystem::IPlugin
|
2010-05-05 18:40:30 +02:00
|
|
|
{
|
|
|
|
|
Q_OBJECT
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
private slots:
|
|
|
|
|
void triggerAction();
|
2010-05-05 18:40:30 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace Internal
|
|
|
|
|
} // namespace %PluginName%
|
|
|
|
|
|
|
|
|
|
#endif // %PluginName:u%_%CppHeaderSuffix:u%
|