forked from qt-creator/qt-creator
ProjectExplorer: Introduce a Utils::OsType IDevice::osType() function
E.g. for easier construction of command lines in situations like if (isLocal()) runnable.commandLineArguments = argumentString(Utils::HostOsInfo::hostOs()); else runnable.commandLineArguments = argumentString(Utils::OsTypeLinux); Change-Id: I5a35304e5d1b5a042952201f39f4134a5cd0ce24 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -94,6 +94,11 @@ DeviceProcessSignalOperation::Ptr AndroidDevice::signalOperation() const
|
||||
return DeviceProcessSignalOperation::Ptr(new AndroidSignalOperation());
|
||||
}
|
||||
|
||||
Utils::OsType AndroidDevice::osType() const
|
||||
{
|
||||
return Utils::OsTypeOtherUnix;
|
||||
}
|
||||
|
||||
IDevice::Ptr AndroidDevice::clone() const
|
||||
{
|
||||
return IDevice::Ptr(new AndroidDevice(*this));
|
||||
|
Reference in New Issue
Block a user