diff options
author | Christian Stenger <christian.stenger@qt.io> | 2016-09-13 13:38:19 +0200 |
---|---|---|
committer | Christian Stenger <christian.stenger@qt.io> | 2016-09-19 09:59:40 +0000 |
commit | b5875e84cb132195c01893c656808c4cf6da15be (patch) | |
tree | e0c97e37394bc286f24dddb4a466243dee356445 /src/plugins/autotest/iframeworksettings.h | |
parent | 7f89df16a2d2c91a85b5104ddbd782ebf929b739 (diff) |
AutoTest: Generalize framework specific settings
Change-Id: Ie8a1db6408d2ceac7331d29ef25d193a15186a4c
Reviewed-by: David Schulz <david.schulz@qt.io>
Diffstat (limited to 'src/plugins/autotest/iframeworksettings.h')
-rw-r--r-- | src/plugins/autotest/iframeworksettings.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/plugins/autotest/iframeworksettings.h b/src/plugins/autotest/iframeworksettings.h new file mode 100644 index 0000000000..8cc3f0b3ea --- /dev/null +++ b/src/plugins/autotest/iframeworksettings.h @@ -0,0 +1,45 @@ +/**************************************************************************** +** +** Copyright (C) 2016 The Qt Company Ltd. +** Contact: https://www.qt.io/licensing/ +** +** This file is part of Qt Creator. +** +** Commercial License Usage +** Licensees holding valid commercial Qt licenses may use this file in +** accordance with the commercial license agreement provided with the +** Software or, alternatively, in accordance with the terms contained in +** a written agreement between you and The Qt Company. For licensing terms +** and conditions see https://www.qt.io/terms-conditions. For further +** information use the contact form at https://www.qt.io/contact-us. +** +** GNU General Public License Usage +** Alternatively, this file may be used under the terms of the GNU +** General Public License version 3 as published by the Free Software +** Foundation with exceptions as appearing in the file LICENSE.GPL3-EXCEPT +** included in the packaging of this file. Please review the following +** information to ensure the GNU General Public License requirements will +** be met: https://www.gnu.org/licenses/gpl-3.0.html. +** +****************************************************************************/ + +#pragma once + +#include <QSettings> + +namespace Autotest { +namespace Internal { + +class IFrameworkSettings +{ +public: + IFrameworkSettings() {} + virtual ~IFrameworkSettings() {} + + virtual QString name() const = 0; + virtual void toSettings(QSettings *s) const = 0; + virtual void fromSettings(const QSettings *s) = 0; +}; + +} // namespace Internal +} // namespace Autotest |