diff options
author | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-12-03 02:47:37 +0200 |
---|---|---|
committer | Konstantinos Sideris <sideris.konstantin@gmail.com> | 2017-12-03 02:47:37 +0200 |
commit | 914bdecc0b8e57a3b4e75b218b02909172ada7e3 (patch) | |
tree | 115c7d85758e503921cd5443af9e007b07849625 /include/Profile.h | |
parent | Add basic support for m.video messages (diff) | |
download | nheko-914bdecc0b8e57a3b4e75b218b02909172ada7e3.tar.xz |
Initial integration with matrix-structs
Diffstat (limited to 'include/Profile.h')
-rw-r--r-- | include/Profile.h | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/include/Profile.h b/include/Profile.h deleted file mode 100644 index d640db02..00000000 --- a/include/Profile.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * nheko Copyright (C) 2017 Konstantinos Sideris <siderisk@auth.gr> - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see <http://www.gnu.org/licenses/>. - */ - -#pragma once - -#include <QJsonDocument> -#include <QUrl> - -class Deserializable; - -class ProfileResponse : public Deserializable -{ -public: - void deserialize(const QJsonDocument &data) override; - - QUrl getAvatarUrl() { return avatar_url_; }; - QString getDisplayName() { return display_name_; }; - -private: - QUrl avatar_url_; - QString display_name_; -}; |