2023-03-06 14:42:04 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
// Copyright The Music Player Daemon Project
|
2008-09-07 13:28:01 +02:00
|
|
|
|
2013-01-02 20:29:24 +01:00
|
|
|
#ifndef MPD_TAG_PRINT_HXX
|
|
|
|
#define MPD_TAG_PRINT_HXX
|
2008-09-07 13:28:01 +02:00
|
|
|
|
2020-03-13 01:08:53 +01:00
|
|
|
#include <cstdint>
|
2022-07-01 11:29:32 +02:00
|
|
|
#include <string_view>
|
2014-01-08 23:35:37 +01:00
|
|
|
|
|
|
|
enum TagType : uint8_t;
|
|
|
|
|
2013-07-30 20:11:57 +02:00
|
|
|
struct Tag;
|
2015-08-06 22:10:25 +02:00
|
|
|
class Response;
|
2008-09-07 13:28:01 +02:00
|
|
|
|
2015-08-06 22:10:25 +02:00
|
|
|
void
|
2018-01-21 11:30:47 +01:00
|
|
|
tag_print_types(Response &response) noexcept;
|
2008-09-07 13:28:01 +02:00
|
|
|
|
2024-09-28 21:03:49 +02:00
|
|
|
void
|
|
|
|
tag_print_types_available(Response &response) noexcept;
|
|
|
|
|
2019-06-06 12:02:55 +02:00
|
|
|
void
|
2022-07-01 11:29:32 +02:00
|
|
|
tag_print(Response &response, TagType type, std::string_view value) noexcept;
|
2019-06-06 12:02:55 +02:00
|
|
|
|
2014-01-08 23:35:37 +01:00
|
|
|
void
|
2018-01-21 11:30:47 +01:00
|
|
|
tag_print(Response &response, TagType type, const char *value) noexcept;
|
2014-01-08 23:35:37 +01:00
|
|
|
|
2014-07-12 17:17:50 +02:00
|
|
|
void
|
2018-01-21 11:30:47 +01:00
|
|
|
tag_print_values(Response &response, const Tag &tag) noexcept;
|
2014-07-12 17:17:50 +02:00
|
|
|
|
2013-07-30 20:11:57 +02:00
|
|
|
void
|
2018-01-21 11:30:47 +01:00
|
|
|
tag_print(Response &response, const Tag &tag) noexcept;
|
2008-09-07 13:28:01 +02:00
|
|
|
|
|
|
|
#endif
|