ProjectExplorer: Base IDevice::osType on a data member

Change-Id: I969563e6e62895a51fb4692c8eb0bab278f0ecae
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2019-08-16 10:17:45 +02:00
parent b6618ab632
commit 36d98d4af7
21 changed files with 32 additions and 61 deletions

View File

@@ -34,7 +34,7 @@ namespace Internal {
class AndroidDevice : public ProjectExplorer::IDevice
{
public:
static IDevice::Ptr create() { return IDevice::Ptr(new AndroidDevice); };
static IDevice::Ptr create() { return IDevice::Ptr(new AndroidDevice); }
private:
AndroidDevice();
@@ -44,7 +44,6 @@ private:
ProjectExplorer::IDeviceWidget *createWidget() override;
bool canAutoDetectPorts() const override;
ProjectExplorer::DeviceProcessSignalOperation::Ptr signalOperation() const override;
Utils::OsType osType() const override;
QUrl toolControlChannel(const ControlChannelHint &) const override;
};