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.
34 lines
724 B
C++
34 lines
724 B
C++
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
// Copyright The Music Player Daemon Project
|
|
|
|
#pragma once
|
|
|
|
#include <cstdint>
|
|
#include <span>
|
|
|
|
enum TagType : uint8_t;
|
|
class SongFilter;
|
|
struct DatabaseSelection;
|
|
struct Partition;
|
|
class Response;
|
|
struct RangeArg;
|
|
|
|
/**
|
|
* @param full print attributes/tags
|
|
* @param base print only base name of songs/directories?
|
|
*/
|
|
void
|
|
db_selection_print(Response &r, Partition &partition,
|
|
const DatabaseSelection &selection,
|
|
bool full, bool base);
|
|
|
|
void
|
|
PrintSongUris(Response &r, Partition &partition,
|
|
const SongFilter *filter);
|
|
|
|
void
|
|
PrintUniqueTags(Response &r, Partition &partition,
|
|
std::span<const TagType> tag_types,
|
|
const SongFilter *filter,
|
|
RangeArg window);
|