summaryrefslogtreecommitdiff
path: root/src/plugins/ios/simulatorcontrol.h
diff options
context:
space:
mode:
authorVikas Pachdha <vikas.pachdha@qt.io>2017-01-27 11:00:20 +0100
committerVikas Pachdha <vikas.pachdha@qt.io>2017-07-05 12:29:13 +0000
commit18638d5560d138182df53fd6ee51215093aa67bd (patch)
treef5da8014774c2d6d917c9d688cdc882b914601d2 /src/plugins/ios/simulatorcontrol.h
parent4ab18cde0e881eb1949ffd36ec2e52a951cec628 (diff)
downloadqt-creator-18638d5560d138182df53fd6ee51215093aa67bd.tar.gz
iOS: Add UI for simulator device management
UI under devices tab to enable iOS simulator device management Task-number: QTCREATORBUG-17602 Change-Id: I66dbf57f07dac107c253518ded5ffd78b8ce4555 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/ios/simulatorcontrol.h')
-rw-r--r--src/plugins/ios/simulatorcontrol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/ios/simulatorcontrol.h b/src/plugins/ios/simulatorcontrol.h
index 5c95d00f22..5c01eee5ec 100644
--- a/src/plugins/ios/simulatorcontrol.h
+++ b/src/plugins/ios/simulatorcontrol.h
@@ -58,6 +58,8 @@ public:
bool isBooted() const { return state.compare(QStringLiteral("Booted")) == 0; }
bool isShutdown() const { return state.compare(QStringLiteral("Shutdown")) == 0; }
bool isShuttingDown() const { return state == "Shutting Down"; }
+ bool operator==(const SimulatorInfo &other) const;
+ bool operator!=(const SimulatorInfo &other) const { return !(*this == other); }
bool available;
QString state;
QString runtimeName;