RemoteLinux: Add more forward declarations

Change-Id: Ie1182248e3b423ce3b85a2baf0c2d7be74de1126
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Jarek Kobus
2022-05-27 15:41:57 +02:00
parent 4b5fd6740f
commit 6698c4dff0
25 changed files with 45 additions and 31 deletions

View File

@@ -31,6 +31,7 @@
#include <projectexplorer/runconfigurationaspects.h> #include <projectexplorer/runconfigurationaspects.h>
#include <projectexplorer/target.h> #include <projectexplorer/target.h>
#include <remotelinux/abstractremotelinuxdeployservice.h>
#include <remotelinux/abstractremotelinuxdeploystep.h> #include <remotelinux/abstractremotelinuxdeploystep.h>
#include <utils/commandline.h> #include <utils/commandline.h>

View File

@@ -33,6 +33,7 @@
#include <projectexplorer/runcontrol.h> #include <projectexplorer/runcontrol.h>
#include <projectexplorer/target.h> #include <projectexplorer/target.h>
#include <remotelinux/abstractremotelinuxdeployservice.h>
#include <remotelinux/abstractremotelinuxdeploystep.h> #include <remotelinux/abstractremotelinuxdeploystep.h>
#include <utils/qtcprocess.h> #include <utils/qtcprocess.h>

View File

@@ -24,6 +24,7 @@
****************************************************************************/ ****************************************************************************/
#include "abstractremotelinuxdeployservice.h" #include "abstractremotelinuxdeployservice.h"
#include "deploymenttimeinfo.h" #include "deploymenttimeinfo.h"
#include <projectexplorer/deployablefile.h> #include <projectexplorer/deployablefile.h>

View File

@@ -26,7 +26,6 @@
#include "abstractremotelinuxdeploystep.h" #include "abstractremotelinuxdeploystep.h"
#include "abstractremotelinuxdeployservice.h" #include "abstractremotelinuxdeployservice.h"
#include "remotelinuxdeployconfiguration.h"
#include <projectexplorer/projectexplorerconstants.h> #include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/kitinformation.h> #include <projectexplorer/kitinformation.h>

View File

@@ -27,12 +27,13 @@
#include "remotelinux_export.h" #include "remotelinux_export.h"
#include "abstractremotelinuxdeployservice.h"
#include <projectexplorer/buildstep.h> #include <projectexplorer/buildstep.h>
namespace RemoteLinux { namespace RemoteLinux {
class AbstractRemoteLinuxDeployService;
class CheckResult;
namespace Internal { class AbstractRemoteLinuxDeployStepPrivate; } namespace Internal { class AbstractRemoteLinuxDeployStepPrivate; }
class REMOTELINUX_EXPORT AbstractRemoteLinuxDeployStep : public ProjectExplorer::BuildStep class REMOTELINUX_EXPORT AbstractRemoteLinuxDeployStep : public ProjectExplorer::BuildStep

View File

@@ -25,6 +25,8 @@
#pragma once #pragma once
#include "remotelinux_export.h"
#include "abstractremotelinuxdeploystep.h" #include "abstractremotelinuxdeploystep.h"
namespace RemoteLinux { namespace RemoteLinux {

View File

@@ -25,6 +25,7 @@
#include "customcommanddeploystep.h" #include "customcommanddeploystep.h"
#include "abstractremotelinuxdeployservice.h"
#include "remotelinux_constants.h" #include "remotelinux_constants.h"
#include <projectexplorer/devicesupport/idevice.h> #include <projectexplorer/devicesupport/idevice.h>

View File

@@ -25,6 +25,8 @@
#pragma once #pragma once
#include "remotelinux_export.h"
#include "abstractremotelinuxdeploystep.h" #include "abstractremotelinuxdeploystep.h"
namespace RemoteLinux { namespace RemoteLinux {

View File

@@ -27,6 +27,10 @@
#include <QVariantMap> #include <QVariantMap>
QT_BEGIN_NAMESPACE
class QDateTime;
QT_END_NAMESPACE
namespace ProjectExplorer { namespace ProjectExplorer {
class DeployableFile; class DeployableFile;
class Kit; class Kit;

View File

@@ -27,8 +27,6 @@
#include <projectexplorer/devicesupport/idevicefactory.h> #include <projectexplorer/devicesupport/idevicefactory.h>
#include <utils/fileutils.h>
namespace RemoteLinux { namespace RemoteLinux {
namespace Internal { namespace Internal {

View File

@@ -25,13 +25,16 @@
#pragma once #pragma once
#include "abstractremotelinuxdeployservice.h"
#include "remotelinux_export.h" #include "remotelinux_export.h"
#include "abstractremotelinuxdeployservice.h"
#include <QList> #include <QList>
QT_FORWARD_DECLARE_CLASS(QDateTime) QT_BEGIN_NAMESPACE
QT_FORWARD_DECLARE_CLASS(QString) class QDateTime;
class QString;
QT_END_NAMESPACE
namespace ProjectExplorer { class DeployableFile; } namespace ProjectExplorer { class DeployableFile; }
namespace Utils { class QtcProcess; } namespace Utils { class QtcProcess; }

View File

@@ -25,9 +25,10 @@
#pragma once #pragma once
#include "abstractremotelinuxdeploystep.h"
#include "remotelinux_export.h" #include "remotelinux_export.h"
#include "abstractremotelinuxdeploystep.h"
namespace RemoteLinux { namespace RemoteLinux {
class REMOTELINUX_EXPORT GenericDirectUploadStep : public AbstractRemoteLinuxDeployStep class REMOTELINUX_EXPORT GenericDirectUploadStep : public AbstractRemoteLinuxDeployStep

View File

@@ -25,10 +25,10 @@
#pragma once #pragma once
#include <projectexplorer/devicesupport/idevicewidget.h>
#include "remotelinux_export.h" #include "remotelinux_export.h"
#include <projectexplorer/devicesupport/idevicewidget.h>
namespace Utils { class FilePath; } namespace Utils { class FilePath; }
namespace RemoteLinux { namespace RemoteLinux {

View File

@@ -25,9 +25,10 @@
#pragma once #pragma once
#include "linuxdevice.h"
#include "remotelinux_export.h" #include "remotelinux_export.h"
#include "linuxdevice.h"
#include <QWizardPage> #include <QWizardPage>
namespace RemoteLinux { namespace RemoteLinux {

View File

@@ -25,6 +25,7 @@
#include "killappstep.h" #include "killappstep.h"
#include "abstractremotelinuxdeployservice.h"
#include "remotelinux_constants.h" #include "remotelinux_constants.h"
#include <projectexplorer/devicesupport/idevice.h> #include <projectexplorer/devicesupport/idevice.h>

View File

@@ -25,6 +25,8 @@
#pragma once #pragma once
#include "remotelinux_export.h"
#include "abstractremotelinuxdeploystep.h" #include "abstractremotelinuxdeploystep.h"
namespace RemoteLinux { namespace RemoteLinux {

View File

@@ -27,9 +27,9 @@
#include "remotelinux_export.h" #include "remotelinux_export.h"
#include <projectexplorer/devicesupport/filetransferinterface.h>
#include <projectexplorer/devicesupport/idevice.h> #include <projectexplorer/devicesupport/idevice.h>
namespace ProjectExplorer { enum class FileTransferMethod; }
namespace Utils { class ProcessResultData; } namespace Utils { class ProcessResultData; }
namespace RemoteLinux { namespace RemoteLinux {

View File

@@ -25,9 +25,6 @@
#pragma once #pragma once
#include "remotelinux_export.h"
#include <projectexplorer/buildsteplist.h>
#include <projectexplorer/deployconfiguration.h> #include <projectexplorer/deployconfiguration.h>
namespace RemoteLinux { namespace RemoteLinux {

View File

@@ -26,7 +26,7 @@
#include "remotelinuxenvironmentaspectwidget.h" #include "remotelinuxenvironmentaspectwidget.h"
#include "linuxdevice.h" #include "linuxdevice.h"
#include "remotelinuxrunconfiguration.h" #include "remotelinuxenvironmentaspect.h"
#include "remotelinuxenvironmentreader.h" #include "remotelinuxenvironmentreader.h"
#include <coreplugin/icore.h> #include <coreplugin/icore.h>

View File

@@ -25,14 +25,16 @@
#pragma once #pragma once
#include "remotelinuxenvironmentaspect.h"
#include <projectexplorer/environmentaspectwidget.h> #include <projectexplorer/environmentaspectwidget.h>
QT_FORWARD_DECLARE_CLASS(QPushButton) QT_BEGIN_NAMESPACE
class QPushButton;
QT_END_NAMESPACE
namespace RemoteLinux { namespace RemoteLinux {
class RemoteLinuxEnvironmentAspect;
namespace Internal { class RemoteLinuxEnvironmentReader; } namespace Internal { class RemoteLinuxEnvironmentReader; }
class RemoteLinuxEnvironmentAspectWidget : public ProjectExplorer::EnvironmentAspectWidget class RemoteLinuxEnvironmentAspectWidget : public ProjectExplorer::EnvironmentAspectWidget

View File

@@ -25,8 +25,6 @@
#pragma once #pragma once
#include "remotelinux_export.h"
#include <projectexplorer/runconfiguration.h> #include <projectexplorer/runconfiguration.h>
namespace RemoteLinux { namespace RemoteLinux {

View File

@@ -25,9 +25,10 @@
#pragma once #pragma once
#include "abstractremotelinuxdeploystep.h"
#include "remotelinux_export.h" #include "remotelinux_export.h"
#include "abstractremotelinuxdeploystep.h"
namespace RemoteLinux { namespace RemoteLinux {
class REMOTELINUX_EXPORT RsyncDeployStep : public AbstractRemoteLinuxDeployStep class REMOTELINUX_EXPORT RsyncDeployStep : public AbstractRemoteLinuxDeployStep

View File

@@ -25,12 +25,10 @@
#pragma once #pragma once
#include "remotelinux_export.h"
#include <utils/filepath.h>
#include <QDialog> #include <QDialog>
namespace Utils { class FilePath; }
namespace RemoteLinux { namespace RemoteLinux {
namespace Ui { class SshKeyCreationDialog; } namespace Ui { class SshKeyCreationDialog; }

View File

@@ -25,13 +25,12 @@
#pragma once #pragma once
#include "abstractpackagingstep.h"
#include "deploymenttimeinfo.h"
#include "remotelinux_export.h" #include "remotelinux_export.h"
#include <projectexplorer/deployablefile.h> #include "abstractpackagingstep.h"
#include "deploymenttimeinfo.h"
#include <utils/aspects.h> #include <projectexplorer/deployablefile.h>
QT_BEGIN_NAMESPACE QT_BEGIN_NAMESPACE
class QFile; class QFile;

View File

@@ -25,6 +25,7 @@
#include "tarpackagedeploystep.h" #include "tarpackagedeploystep.h"
#include "abstractremotelinuxdeployservice.h"
#include "remotelinux_constants.h" #include "remotelinux_constants.h"
#include "tarpackagecreationstep.h" #include "tarpackagecreationstep.h"