diff options
author | Christian Stenger <christian.stenger@theqtcompany.com> | 2014-12-04 14:05:19 +0100 |
---|---|---|
committer | Christian Stenger <christian.stenger@theqtcompany.com> | 2014-12-09 10:22:48 +0200 |
commit | e71a2c44fc64b3e3ced132731bf57fc6809516e1 (patch) | |
tree | 9eda69e11b1ab5a8cb9951f12b24bf5e11b158a8 /plugins/autotest/autotestplugin.h | |
parent | edfd394bf54bc78f2a85104da2f49484a61d1134 (diff) | |
download | qt-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.h | 9 |
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 |