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:
Christian Kandeler
2012-02-07 14:13:56 +01:00
parent 7e9e3a816f
commit 53e2cbfb7f
23 changed files with 106 additions and 117 deletions

View File

@@ -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))
{
}