You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
583 B
C++

// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project
#pragma once
class Response;
class SongLoader;
class SongFilter;
struct Partition;
/**
* Send the playlist file to the client.
*
* Throws on error.
*
* @param uri the URI of the playlist file in UTF-8 encoding
* @param detail true if all details should be printed
*/
void
playlist_file_print(Response &r, Partition &partition,
const SongLoader &loader,
const LocatedUri &uri,
unsigned start_index, unsigned end_index,
bool detail,
SongFilter *filter);