diff options
author | Christian Kandeler <christian.kandeler@nokia.com> | 2011-06-16 17:03:43 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@nokia.com> | 2011-06-20 17:50:29 +0200 |
commit | f74e167563793e995b94598d0b326f2f7ebd9bbb (patch) | |
tree | 7fa1023b1dc4b13a58c664664059d9d3fd30f0c3 /src/plugins/remotelinux/genericlinuxdeviceconfigurationfactory.h | |
parent | dfa7995b17d0ad227300de9bf169fe02a175fcf9 (diff) | |
download | qt-creator-f74e167563793e995b94598d0b326f2f7ebd9bbb.tar.gz |
RemoteLinux: More untangling of generic and Maemo-specific stuff.
- Make key deployment a device type dependent action.
- Split up monolithic device configuration wizard.
- Split up run configurations, run controls and the associated
factories.
Change-Id: Ib2ef9d405e6b7eaae89fc27c56e3c327829a88f7
Reviewed-on: http://codereview.qt.nokia.com/486
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/remotelinux/genericlinuxdeviceconfigurationfactory.h')
-rw-r--r-- | src/plugins/remotelinux/genericlinuxdeviceconfigurationfactory.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/src/plugins/remotelinux/genericlinuxdeviceconfigurationfactory.h b/src/plugins/remotelinux/genericlinuxdeviceconfigurationfactory.h new file mode 100644 index 0000000000..f04e610cd6 --- /dev/null +++ b/src/plugins/remotelinux/genericlinuxdeviceconfigurationfactory.h @@ -0,0 +1,59 @@ +/************************************************************************** +** +** This file is part of Qt Creator +** +** Copyright (c) 2011 Nokia Corporation and/or its subsidiary(-ies). +** +** Contact: Nokia Corporation (info@qt.nokia.com) +** +** +** GNU Lesser General Public License Usage +** +** This file may be used under the terms of the GNU Lesser General Public +** License version 2.1 as published by the Free Software Foundation and +** appearing in the file LICENSE.LGPL included in the packaging of this file. +** Please review the following information to ensure the GNU Lesser General +** Public License version 2.1 requirements will be met: +** http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html. +** +** In addition, as a special exception, Nokia gives you certain additional +** rights. These rights are described in the Nokia Qt LGPL Exception +** version 1.1, included in the file LGPL_EXCEPTION.txt in this package. +** +** Other Usage +** +** Alternatively, this file may be used in accordance with the terms and +** conditions contained in a signed written agreement between you and Nokia. +** +** If you have questions regarding the use of this file, please contact +** Nokia at info@qt.nokia.com. +** +**************************************************************************/ +#ifndef GENERICLINUXDEVICECONFIGURATIONFACTORY_H +#define GENERICLINUXDEVICECONFIGURATIONFACTORY_H + +#include "linuxdeviceconfiguration.h" + +namespace RemoteLinux { +namespace Internal { + +class GenericLinuxDeviceConfigurationFactory : public ILinuxDeviceConfigurationFactory +{ + Q_OBJECT + Q_DISABLE_COPY(GenericLinuxDeviceConfigurationFactory) +public: + GenericLinuxDeviceConfigurationFactory(QObject *parent = 0); + + QString displayName() const; + ILinuxDeviceConfigurationWizard *createWizard(QWidget *parent) const; + bool supportsOsType(const QString &osType) const; + QStringList supportedDeviceActionIds() const; + QString displayNameForId(const QString &actionId) const; + QDialog *createDeviceAction(const QString &actionId, + const LinuxDeviceConfiguration::ConstPtr &deviceConfig, QWidget *parent) const; +}; + +} // namespace Internal +} // namespace RemoteLinux + +#endif // GENERICLINUXDEVICECONFIGURATIONFACTORY_H |