summaryrefslogtreecommitdiff
path: root/src/watchconnector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/watchconnector.h')
-rw-r--r--src/watchconnector.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/watchconnector.h b/src/watchconnector.h
index 198f703..56a0f5c 100644
--- a/src/watchconnector.h
+++ b/src/watchconnector.h
@@ -39,6 +39,9 @@
using namespace QtBluetooth;
+namespace watch
+{
+
class WatchConnector : public QObject
{
Q_OBJECT
@@ -113,13 +116,18 @@ public slots:
void readSocket();
void connected();
void disconnected();
+ void reconnect();
private:
void decodeMsg(QByteArray data);
QBluetoothSocket *socket;
bool is_connected;
+ QString _last_name;
+ QString _last_address;
};
void registerWatchConnector();
+}
+
#endif // WATCHCONNECTOR_H