forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -31,6 +31,9 @@
|
||||
**************************************************************************/
|
||||
#include "abstractembeddedlinuxtarget.h"
|
||||
|
||||
#include "deploymentinfo.h"
|
||||
#include "typespecificdeviceconfigurationlistmodel.h"
|
||||
|
||||
#include <qt4projectmanager/qt4buildconfiguration.h>
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
@@ -38,8 +41,13 @@ using namespace Qt4ProjectManager;
|
||||
|
||||
namespace RemoteLinux {
|
||||
|
||||
AbstractEmbeddedLinuxTarget::AbstractEmbeddedLinuxTarget(Qt4Project *parent, const QString &id) :
|
||||
Qt4BaseTarget(parent, id), m_buildConfigurationFactory(new Qt4BuildConfigurationFactory(this))
|
||||
AbstractEmbeddedLinuxTarget::AbstractEmbeddedLinuxTarget(Qt4Project *parent, const QString &id,
|
||||
const QString &supportedOsType) :
|
||||
Qt4BaseTarget(parent, id),
|
||||
m_buildConfigurationFactory(new Qt4BuildConfigurationFactory(this)),
|
||||
m_supportedOsType(supportedOsType),
|
||||
m_deploymentInfo(new DeploymentInfo(this)),
|
||||
m_deviceConfigModel(new Internal::TypeSpecificDeviceConfigurationListModel(supportedOsType, this))
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user