Jellyfin Qt
QML Library for interacting with the Jellyfin multimedia server
Toggle main menu visibility
Loading...
Searching...
No Matches
playbackreporter.h
Go to the documentation of this file.
1
/*
2
* Sailfin: a Jellyfin client written using Qt
3
* Copyright (C) 2021-2022 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_PLAYBACKREPORTER_H
20
#define JELLYFIN_MODEL_PLAYBACKREPORTER_H
21
22
#include <QLoggingCategory>
23
#include <QObject>
24
#include <QScopedPointer>
25
26
namespace
Jellyfin
{
27
28
class
ApiClient
;
29
30
namespace
Model
{
31
32
Q_DECLARE_LOGGING_CATEGORY
(playbackReporter);
33
34
class
LocalPlaybackManager
;
35
36
class
PlaybackReporterPrivate
;
43
class
PlaybackReporter
:
public
QObject {
44
Q_OBJECT
45
Q_DECLARE_PRIVATE(
PlaybackReporter
);
46
public
:
47
explicit
PlaybackReporter
(QObject *parent =
nullptr
);
48
49
void
setPlaybackManager
(
LocalPlaybackManager
*playbackManager);
50
private
:
51
PlaybackReporterPrivate
*d_ptr;
52
};
53
54
}
55
}
56
57
#endif
//JELLYFIN_MODEL_PLAYBACKREPORTER_H
58
Jellyfin::ApiClient
An Api client for Jellyfin. Handles requests and authentication.
Definition
apiclient.h:90
Jellyfin::Model::LocalPlaybackManager
Controls playback whithin this app.
Definition
playbackmanager.h:187
Jellyfin::Model::PlaybackReporterPrivate
Definition
playbackreporter.cpp:37
Jellyfin::Model::PlaybackReporter::setPlaybackManager
void setPlaybackManager(LocalPlaybackManager *playbackManager)
Definition
playbackreporter.cpp:80
Jellyfin::Model::PlaybackReporter::PlaybackReporter
PlaybackReporter(QObject *parent=nullptr)
Definition
playbackreporter.cpp:70
Jellyfin::Model
Definition
controllablesession.h:18
Jellyfin::Model::Q_DECLARE_LOGGING_CATEGORY
Q_DECLARE_LOGGING_CATEGORY(playbackManager)
Jellyfin
core
include
JellyfinQt
model
playbackreporter.h
Generated by
1.17.0