summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-10-22 22:51:50 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-10-22 22:51:50 +0300
commit143ed5176a891916b088b3c768b3dd3883629812 (patch)
tree78b4f14b8a6072ba45ee5ca1dd90f73632a9ddb6 /include
parentRemove extra inline keywords (diff)
downloadnheko-143ed5176a891916b088b3c768b3dd3883629812.tar.xz
Use callbacks on MatrixClient
Diffstat (limited to 'include')
-rw-r--r--include/MatrixClient.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/include/MatrixClient.h b/include/MatrixClient.h

index 7596cf4e..7a415e82 100644 --- a/include/MatrixClient.h +++ b/include/MatrixClient.h
@@ -104,49 +104,7 @@ signals: void joinedRoom(const QString &room_id); void leftRoom(const QString &room_id); -private slots: - void onResponse(QNetworkReply *reply); - private: - enum class Endpoint - { - GetOwnAvatar, - GetOwnProfile, - GetProfile, - Image, - InitialSync, - ImageUpload, - Login, - Logout, - Messages, - Register, - RoomAvatar, - SendRoomMessage, - Sync, - UserAvatar, - Versions, - JoinRoom, - LeaveRoom, - }; - - // Response handlers. - void onGetOwnAvatarResponse(QNetworkReply *reply); - void onGetOwnProfileResponse(QNetworkReply *reply); - void onImageResponse(QNetworkReply *reply); - void onInitialSyncResponse(QNetworkReply *reply); - void onImageUploadResponse(QNetworkReply *reply); - void onLoginResponse(QNetworkReply *reply); - void onLogoutResponse(QNetworkReply *reply); - void onMessagesResponse(QNetworkReply *reply); - void onRegisterResponse(QNetworkReply *reply); - void onRoomAvatarResponse(QNetworkReply *reply); - void onSendRoomMessage(QNetworkReply *reply); - void onSyncResponse(QNetworkReply *reply); - void onUserAvatarResponse(QNetworkReply *reply); - void onVersionsResponse(QNetworkReply *reply); - void onJoinRoomResponse(QNetworkReply *reply); - void onLeaveRoomResponse(QNetworkReply *reply); - // Client API prefix. QString clientApiUrl_;