1
0
Fork 0
mirror of https://github.com/HenkKalkwater/harbour-sailfin.git synced 2025-09-08 10:42:46 +00:00

WIP: Reimplementation of ListModels.

This commit is contained in:
Chris Josten 2021-03-26 21:27:35 +01:00
parent 76a49868b9
commit e421adf733
356 changed files with 1830 additions and 1833 deletions

View file

@ -34,16 +34,16 @@ namespace Loader {
namespace HTTP {
GetProfile::GetProfile(ApiClient *apiClient)
GetProfileLoader::GetProfileLoader(ApiClient *apiClient)
: Jellyfin::Support::HttpLoader<Jellyfin::DTO::DeviceProfile, GetProfileParams>(apiClient) {}
QString GetProfile::path(const GetProfileParams &params) const {
QString GetProfileLoader::path(const GetProfileParams &params) const {
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
return QStringLiteral("/Dlna/Profiles/") + Support::toString(params.profileId()) ;
}
QUrlQuery GetProfile::query(const GetProfileParams &params) const {
QUrlQuery GetProfileLoader::query(const GetProfileParams &params) const {
Q_UNUSED(params) // Might be overzealous, but I don't like theses kind of warnings
QUrlQuery result;