summaryrefslogtreecommitdiff
path: root/src/plugins/android/androidrunner.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/android/androidrunner.h')
-rw-r--r--src/plugins/android/androidrunner.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/plugins/android/androidrunner.h b/src/plugins/android/androidrunner.h
index 32f7418ad9..c9a87f3579 100644
--- a/src/plugins/android/androidrunner.h
+++ b/src/plugins/android/androidrunner.h
@@ -23,8 +23,7 @@
**
****************************************************************************/
-#ifndef ANDROIDRUNNER_H
-#define ANDROIDRUNNER_H
+#pragma once
#include "androidconfigurations.h"
#include "androidrunnable.h"
@@ -69,7 +68,7 @@ public slots:
signals:
void remoteServerRunning(const QByteArray &serverChannel, int pid);
- void remoteProcessStarted(int gdbServerPort, int qmlPort);
+ void remoteProcessStarted(Utils::Port gdbServerPort, Utils::Port qmlPort);
void remoteProcessFinished(const QString &errString = QString());
void remoteOutput(const QString &output);
@@ -102,8 +101,8 @@ private:
qint64 m_processPID;
bool m_useCppDebugger;
QmlDebug::QmlDebugServicesPreset m_qmlDebugServices;
- ushort m_localGdbServerPort; // Local end of forwarded debug socket.
- quint16 m_qmlPort;
+ Utils::Port m_localGdbServerPort; // Local end of forwarded debug socket.
+ Utils::Port m_qmlPort;
QString m_pingFile;
QString m_pongFile;
QString m_gdbserverPath;
@@ -120,5 +119,3 @@ private:
} // namespace Internal
} // namespace Android
-
-#endif // ANDROIDRUNNER_H