2023-03-06 14:42:04 +01:00
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
// Copyright The Music Player Daemon Project
|
2021-10-18 21:51:02 +02:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
struct playlist;
|
|
|
|
struct RangeArg;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Throws #ProtocolError on error.
|
|
|
|
*/
|
|
|
|
unsigned
|
|
|
|
ParseInsertPosition(const char *s, const playlist &playlist);
|
|
|
|
|
|
|
|
unsigned
|
|
|
|
ParseMoveDestination(const char *s, const RangeArg range, const playlist &p);
|