summaryrefslogtreecommitdiff
path: root/plugins/autotest/autotestplugin.h
diff options
context:
space:
mode:
authorChristian Stenger <christian.stenger@theqtcompany.com>2014-12-04 14:05:19 +0100
committerChristian Stenger <christian.stenger@theqtcompany.com>2014-12-09 10:22:48 +0200
commite71a2c44fc64b3e3ced132731bf57fc6809516e1 (patch)
tree9eda69e11b1ab5a8cb9951f12b24bf5e11b158a8 /plugins/autotest/autotestplugin.h
parentedfd394bf54bc78f2a85104da2f49484a61d1134 (diff)
downloadqt-creator-e71a2c44fc64b3e3ced132731bf57fc6809516e1.tar.gz
Provide test settings and make use of them
Change-Id: Ia6fef10bc577f9722b6c063c2df4d1651a8be50d Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
Diffstat (limited to 'plugins/autotest/autotestplugin.h')
-rw-r--r--plugins/autotest/autotestplugin.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/autotest/autotestplugin.h b/plugins/autotest/autotestplugin.h
index 6391f050fe..6d5365ddee 100644
--- a/plugins/autotest/autotestplugin.h
+++ b/plugins/autotest/autotestplugin.h
@@ -26,6 +26,8 @@
namespace Autotest {
namespace Internal {
+struct TestSettings;
+
class AutotestPlugin : public ExtensionSystem::IPlugin
{
Q_OBJECT
@@ -35,12 +37,19 @@ public:
AutotestPlugin();
~AutotestPlugin();
+ static AutotestPlugin *instance();
+
bool initialize(const QStringList &arguments, QString *errorString);
void extensionsInitialized();
ShutdownFlag aboutToShutdown();
+ QSharedPointer<TestSettings> settings() const { return m_settings; }
+
private slots:
void triggerAction();
+
+private:
+ const QSharedPointer<TestSettings> m_settings;
};
} // namespace Internal