From 914bdecc0b8e57a3b4e75b218b02909172ada7e3 Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sun, 3 Dec 2017 02:47:37 +0200 Subject: Initial integration with matrix-structs --- include/Profile.h | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 include/Profile.h (limited to 'include/Profile.h') 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 - * - * 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 . - */ - -#pragma once - -#include -#include - -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_; -}; -- cgit 1.5.1