forked from qt-creator/qt-creator
ios: detect switch usermode -> dev mode
this does polling, but only with devices in user mode connected... Change-Id: I828715a2b4a35f8f9b3bdbcf0da9a74990f3047f Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
This commit is contained in:
@@ -38,6 +38,8 @@
|
||||
#include <QMap>
|
||||
#include <QString>
|
||||
#include <QSharedPointer>
|
||||
#include <QStringList>
|
||||
#include <QTimer>
|
||||
|
||||
namespace ProjectExplorer{
|
||||
class Kit;
|
||||
@@ -100,8 +102,12 @@ public slots:
|
||||
const Ios::IosToolHandler::Dict &info);
|
||||
void infoGathererFinished(Ios::IosToolHandler *gatherer);
|
||||
void monitorAvailableDevices();
|
||||
private slots:
|
||||
void updateUserModeDevices();
|
||||
private:
|
||||
IosDeviceManager(QObject *parent = 0);
|
||||
QTimer m_userModeDevicesTimer;
|
||||
QStringList m_userModeDeviceIds;
|
||||
};
|
||||
|
||||
namespace IosKitInformation {
|
||||
|
||||
Reference in New Issue
Block a user