aboutsummaryrefslogtreecommitdiff
path: root/connectiondata.h
diff options
context:
space:
mode:
authorFelix Rohrbach <fxrh@gmx.de>2016-05-01 21:38:13 +0200
committerFelix Rohrbach <fxrh@gmx.de>2016-05-01 21:38:13 +0200
commit22a675a55ae2dac33a680531f4003fbfeb24ec39 (patch)
tree3c7e575cd64aea4fdcbd78a936f1913532105fb4 /connectiondata.h
parent00a73167ca455370868f1f82257420f0cb399a15 (diff)
parentaa8b077499653b6ebf2d78136c75c801e6f99c29 (diff)
downloadlibquotient-22a675a55ae2dac33a680531f4003fbfeb24ec39.tar.gz
libquotient-22a675a55ae2dac33a680531f4003fbfeb24ec39.zip
Merge pull request #3 from davidar/master
Resolve Matrix SRV records.
Diffstat (limited to 'connectiondata.h')
-rw-r--r--connectiondata.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/connectiondata.h b/connectiondata.h
index e11f54b5..6407780c 100644
--- a/connectiondata.h
+++ b/connectiondata.h
@@ -34,9 +34,11 @@ namespace QMatrixClient
//bool isConnected() const;
QString token() const;
QUrl baseUrl() const;
-
+
QNetworkAccessManager* nam() const;
void setToken( QString token );
+ void setHost( QString host );
+ void setPort( int port );
QString lastEvent() const;
void setLastEvent( QString identifier );
@@ -47,4 +49,4 @@ namespace QMatrixClient
};
}
-#endif // QMATRIXCLIENT_CONNECTIONDATA_H \ No newline at end of file
+#endif // QMATRIXCLIENT_CONNECTIONDATA_H