mirror of
https://github.com/HenkKalkwater/harbour-sailfin.git
synced 2024-11-22 17:25:17 +00:00
Chris Josten
54235f298e
Besides MPRIS support, this also adds support for hasPrevious() and hasNext() in several parts to determine whether the player/playlist/shuffler has a previous or next item.
54 lines
1.6 KiB
C++
54 lines
1.6 KiB
C++
/*
|
|
* Sailfin: a Jellyfin client written using Qt
|
|
* Copyright (C) 2021 Chris Josten and the Sailfin Contributors
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License as published by the Free Software Foundation; either
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
*
|
|
* This library 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
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
|
*/
|
|
#ifndef JELLYFIN_H
|
|
#define JELLYFIN_H
|
|
|
|
#include <QtQml>
|
|
|
|
#include "model/item.h"
|
|
#include "dto/itemfields.h"
|
|
#include "dto/mediastream.h"
|
|
#include "dto/nameguidpair.h"
|
|
#include "dto/userdto.h"
|
|
#include "dto/useritemdatadto.h"
|
|
|
|
#include "apiclient.h"
|
|
#include "apimodel.h"
|
|
#include "serverdiscoverymodel.h"
|
|
#include "websocket.h"
|
|
#include "viewmodel/item.h"
|
|
#include "viewmodel/itemmodel.h"
|
|
#include "viewmodel/loader.h"
|
|
#include "viewmodel/mediastream.h"
|
|
#include "viewmodel/modelstatus.h"
|
|
#include "viewmodel/platformmediacontrol.h"
|
|
#include "viewmodel/playbackmanager.h"
|
|
#include "viewmodel/playlist.h"
|
|
#include "viewmodel/userdata.h"
|
|
#include "viewmodel/usermodel.h"
|
|
#include "viewmodel/user.h"
|
|
|
|
namespace Jellyfin {
|
|
|
|
void registerTypes(const char *uri = "nl.netsoj.chris.Jellyfin");
|
|
|
|
}
|
|
|
|
#endif // JELLYFIN_H
|