2023-03-06 14:42:04 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
// Copyright The Music Player Daemon Project
|
2012-08-25 12:59:54 +02:00
|
|
|
|
|
|
|
#ifndef MPD_PLAYLIST_COMMANDS_HXX
|
|
|
|
#define MPD_PLAYLIST_COMMANDS_HXX
|
|
|
|
|
2013-10-20 13:10:54 +02:00
|
|
|
#include "CommandResult.hxx"
|
2012-08-25 12:59:54 +02:00
|
|
|
|
2013-01-03 17:27:26 +01:00
|
|
|
class Client;
|
2015-08-11 22:11:28 +02:00
|
|
|
class Request;
|
2015-08-13 12:48:31 +02:00
|
|
|
class Response;
|
2013-01-03 17:27:26 +01:00
|
|
|
|
2021-10-13 11:28:04 +02:00
|
|
|
[[gnu::const]]
|
2014-10-25 23:49:35 +02:00
|
|
|
bool
|
2017-05-08 14:44:49 +02:00
|
|
|
playlist_commands_available() noexcept;
|
2014-10-25 23:49:35 +02:00
|
|
|
|
2013-10-20 13:10:54 +02:00
|
|
|
CommandResult
|
2015-08-13 12:48:31 +02:00
|
|
|
handle_save(Client &client, Request request, Response &response);
|
2012-08-25 12:59:54 +02:00
|
|
|
|
2013-10-20 13:10:54 +02:00
|
|
|
CommandResult
|
2015-08-13 12:48:31 +02:00
|
|
|
handle_load(Client &client, Request request, Response &response);
|
2012-08-25 12:59:54 +02:00
|
|
|
|
2013-10-20 13:10:54 +02:00
|
|
|
CommandResult
|
2015-08-13 12:48:31 +02:00
|
|
|
handle_listplaylist(Client &client, Request request, Response &response);
|
2012-08-25 12:59:54 +02:00
|
|
|
|
2013-10-20 13:10:54 +02:00
|
|
|
CommandResult
|
2015-08-13 12:48:31 +02:00
|
|
|
handle_listplaylistinfo(Client &client, Request request, Response &response);
|
2012-08-25 12:59:54 +02:00
|
|
|
|
2013-10-20 13:10:54 +02:00
|
|
|
CommandResult
|
2015-08-13 12:48:31 +02:00
|
|
|
handle_rm(Client &client, Request request, Response &response);
|
2012-08-25 12:59:54 +02:00
|
|
|
|
2013-10-20 13:10:54 +02:00
|
|
|
CommandResult
|
2015-08-13 12:48:31 +02:00
|
|
|
handle_rename(Client &client, Request request, Response &response);
|
2012-08-25 12:59:54 +02:00
|
|
|
|
2013-10-20 13:10:54 +02:00
|
|
|
CommandResult
|
2015-08-13 12:48:31 +02:00
|
|
|
handle_playlistdelete(Client &client, Request request, Response &response);
|
2012-08-25 12:59:54 +02:00
|
|
|
|
2013-10-20 13:10:54 +02:00
|
|
|
CommandResult
|
2015-08-13 12:48:31 +02:00
|
|
|
handle_playlistmove(Client &client, Request request, Response &response);
|
2012-08-25 12:59:54 +02:00
|
|
|
|
2013-10-20 13:10:54 +02:00
|
|
|
CommandResult
|
2015-08-13 12:48:31 +02:00
|
|
|
handle_playlistclear(Client &client, Request request, Response &response);
|
2012-08-25 12:59:54 +02:00
|
|
|
|
2013-10-20 13:10:54 +02:00
|
|
|
CommandResult
|
2015-08-13 12:48:31 +02:00
|
|
|
handle_playlistadd(Client &client, Request request, Response &response);
|
2012-08-25 12:59:54 +02:00
|
|
|
|
2013-10-20 13:10:54 +02:00
|
|
|
CommandResult
|
2015-08-13 12:48:31 +02:00
|
|
|
handle_listplaylists(Client &client, Request request, Response &response);
|
2012-08-25 12:59:54 +02:00
|
|
|
|
|
|
|
#endif
|