aboutsummaryrefslogtreecommitdiff
path: root/connection.h
diff options
context:
space:
mode:
Diffstat (limited to 'connection.h')
-rw-r--r--connection.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/connection.h b/connection.h
index 64d3d077..dc056fd8 100644
--- a/connection.h
+++ b/connection.h
@@ -44,6 +44,7 @@ namespace QMatrixClient
QHash<QString, Room*> roomMap() const;
Q_INVOKABLE virtual bool isConnected();
+ Q_INVOKABLE virtual void resolveServer( QString domain );
Q_INVOKABLE virtual void connectToServer( QString user, QString password );
Q_INVOKABLE virtual void reconnect();
Q_INVOKABLE virtual SyncJob* sync(int timeout=-1);
@@ -61,12 +62,14 @@ namespace QMatrixClient
signals:
void connected();
void reconnected();
+ void resolved();
void syncDone();
void newRoom(Room* room);
void joinedRoom(Room* room);
void loginError(QString error);
void connectionError(QString error);
+ void resolveError(QString error);
//void jobError(BaseJob* job);
protected: