Add desktop device

Add a device for the desktop.

Change-Id: If9cff404df03ab1d93ca1cb509c60ce59f9d5be0
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
Tobias Hunger
2012-05-02 14:02:09 +02:00
parent 2ad4a291b6
commit 641d4acaf1
12 changed files with 325 additions and 4 deletions

View File

@@ -43,8 +43,8 @@
#include <limits>
#include <coreplugin/coreconstants.h>
#include <projectexplorer/buildmanager.h>
#include <projectexplorer/devicesupport/desktopdevice.h>
#include <projectexplorer/devicesupport/devicemanager.h>
#include <projectexplorer/devicesupport/idevice.h>
#include <extensionsystem/pluginmanager.h>
#include <projectexplorer/projectexplorer.h>
#include <utils/qtcassert.h>
@@ -553,7 +553,7 @@ void Target::updateDeviceState(Core::Id devId)
ProjectExplorer::IDevice::ConstPtr Target::currentDevice() const
{
return IDevice::ConstPtr(0);
return DeviceManager::instance()->find(ProjectExplorer::DesktopDevice::Id);
}
void Target::setEnabled(bool enabled)