Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Loading...
Searching...
No Matches
user.h
Go to the documentation of this file.
1/*
2 * Sailfin: a Jellyfin client written using Qt
3 * Copyright (C) 2021 Chris Josten and the Sailfin Contributors.
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18 */
19#ifndef JELLYFIN_MODEL_USER_H
20#define JELLYFIN_MODEL_USER_H
21
22#include "../dto/userdto.h"
23
24namespace Jellyfin {
25namespace Model {
26
27class User : public DTO::UserDto {
28
29public:
30 // Default empty constructor
31 User(ApiClient *apiClient = nullptr);
32 User(const DTO::UserDto &data, ApiClient *apiClient = nullptr);
33
34 bool sameAs(const DTO::UserDto &other);
35};
36
37}
38} // NS Jellyfin
39
40#endif // JELLYFIN_MODEL_USER_H
An Api client for Jellyfin. Handles requests and authentication.
Definition apiclient.h:90
Definition userdto.h:52
Definition user.h:27
bool sameAs(const DTO::UserDto &other)
Definition user.cpp:35
DTO::UserDto User
Definition apimodel.cpp:33