summaryrefslogtreecommitdiff
path: root/doc/pluginhowto/examples/progressbar/progressbarplugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'doc/pluginhowto/examples/progressbar/progressbarplugin.h')
-rw-r--r--doc/pluginhowto/examples/progressbar/progressbarplugin.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/doc/pluginhowto/examples/progressbar/progressbarplugin.h b/doc/pluginhowto/examples/progressbar/progressbarplugin.h
new file mode 100644
index 0000000000..7ae9415305
--- /dev/null
+++ b/doc/pluginhowto/examples/progressbar/progressbarplugin.h
@@ -0,0 +1,20 @@
+#ifndef PROGRESSBAR_PLUGIN_H
+#define PROGRESSBAR_PLUGIN_H
+
+#include <extensionsystem/iplugin.h>
+
+class ProgressBarPlugin : public ExtensionSystem::IPlugin
+{
+ Q_OBJECT
+
+public:
+ ProgressBarPlugin();
+ ~ProgressBarPlugin();
+
+ void extensionsInitialized();
+ bool initialize(const QStringList & arguments, QString* errorString);
+ void shutdown();
+};
+
+#endif // PROGRESSBAR_PLUGIN_H
+