Files
qt-creator/share/qtcreator/templates/wizards/qtcreatorplugin/myplugin.h

31 lines
648 B
C
Raw Normal View History

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 {
class %PluginName%Plugin : public ExtensionSystem::IPlugin
2010-05-05 18:40:30 +02:00
{
Q_OBJECT
public:
%PluginName%Plugin();
~%PluginName%Plugin();
2010-05-05 18:40:30 +02:00
bool initialize(const QStringList &arguments, QString *errorString);
void extensionsInitialized();
ShutdownFlag aboutToShutdown();
private slots:
void triggerAction();
2010-05-05 18:40:30 +02:00
};
} // namespace Internal
} // namespace %PluginName%
#endif // %PluginName:u%_%CppHeaderSuffix:u%