From e71a2c44fc64b3e3ced132731bf57fc6809516e1 Mon Sep 17 00:00:00 2001 From: Christian Stenger Date: Thu, 4 Dec 2014 14:05:19 +0100 Subject: Provide test settings and make use of them Change-Id: Ia6fef10bc577f9722b6c063c2df4d1651a8be50d Reviewed-by: Christian Stenger --- plugins/autotest/autotestplugin.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'plugins/autotest/autotestplugin.h') 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 settings() const { return m_settings; } + private slots: void triggerAction(); + +private: + const QSharedPointer m_settings; }; } // namespace Internal -- cgit v1.2.1