diff options
author | Felix Rohrbach <fxrh@gmx.de> | 2016-05-01 21:38:13 +0200 |
---|---|---|
committer | Felix Rohrbach <fxrh@gmx.de> | 2016-05-01 21:38:13 +0200 |
commit | 22a675a55ae2dac33a680531f4003fbfeb24ec39 (patch) | |
tree | 3c7e575cd64aea4fdcbd78a936f1913532105fb4 /connectiondata.h | |
parent | 00a73167ca455370868f1f82257420f0cb399a15 (diff) | |
parent | aa8b077499653b6ebf2d78136c75c801e6f99c29 (diff) | |
download | libquotient-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.h | 6 |
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 |