diff options
author | Christian Kandeler <christian.kandeler@nokia.com> | 2012-02-07 14:13:56 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@nokia.com> | 2012-02-08 14:47:26 +0100 |
commit | 53e2cbfb7ff15a41fbb84085ba98b03d067651b1 (patch) | |
tree | 14a1d378d75ad8f675533716ba90199e5b1385f9 /src/plugins/remotelinux/remotelinuxdeployconfiguration.h | |
parent | 7e9e3a816f049d516aaa1f4a44aff2d43670e62a (diff) | |
download | qt-creator-53e2cbfb7ff15a41fbb84085ba98b03d067651b1.tar.gz |
RemoteLinux: Move some stuff into the new target base class.
All these things were always conceptually per-target, but due to not
having a common target class we had to awkwardly implement the concept
using shared pointers.
Change-Id: I1bb1992a230a485d519a892a6ca602a6846fc3cf
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxdeployconfiguration.h')
-rw-r--r-- | src/plugins/remotelinux/remotelinuxdeployconfiguration.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/remotelinux/remotelinuxdeployconfiguration.h b/src/plugins/remotelinux/remotelinuxdeployconfiguration.h index d6bb7e3de3..6ad89dbfe0 100644 --- a/src/plugins/remotelinux/remotelinuxdeployconfiguration.h +++ b/src/plugins/remotelinux/remotelinuxdeployconfiguration.h @@ -42,6 +42,7 @@ #include <QtCore/QSharedPointer> namespace RemoteLinux { +class AbstractEmbeddedLinuxTarget; class DeploymentInfo; namespace Internal { @@ -56,7 +57,7 @@ class REMOTELINUX_EXPORT RemoteLinuxDeployConfiguration Q_DISABLE_COPY(RemoteLinuxDeployConfiguration) public: RemoteLinuxDeployConfiguration(ProjectExplorer::Target *target, const QString &id, - const QString &defaultDisplayName, const QString &supportedOsType); + const QString &defaultDisplayName); RemoteLinuxDeployConfiguration(ProjectExplorer::Target *target, RemoteLinuxDeployConfiguration *source); @@ -66,10 +67,9 @@ public: ProjectExplorer::DeployConfigurationWidget *configurationWidget() const; void setDeviceConfiguration(int index); - QSharedPointer<DeploymentInfo> deploymentInfo() const; - QSharedPointer<Internal::TypeSpecificDeviceConfigurationListModel> deviceConfigModel() const; + AbstractEmbeddedLinuxTarget *target() const; + DeploymentInfo *deploymentInfo() const; QSharedPointer<const LinuxDeviceConfiguration> deviceConfiguration() const; - QString supportedOsType() const; template<class T> T *earlierBuildStep(const ProjectExplorer::BuildStep *laterBuildStep) const { |