Skip to content

Commit

Permalink
playlist/Stream: add API documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed May 15, 2024
1 parent 4e7b554 commit eceead6
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions src/playlist/PlaylistStream.hxx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-or-later
// Copyright The Music Player Daemon Project

#ifndef MPD_PLAYLIST_STREAM_HXX
#define MPD_PLAYLIST_STREAM_HXX
#pragma once

#include "thread/Mutex.hxx"

Expand All @@ -20,8 +19,12 @@ class Path;
std::unique_ptr<SongEnumerator>
playlist_open_path(Path path, Mutex &mutex);

/**
* Opens a playlist from a remote file.
*
* @param uri the absolute URI of the playlist file
* @return a playlist, or nullptr on error
*/
[[gnu::nonnull]]
std::unique_ptr<SongEnumerator>
playlist_open_remote(const char *uri, Mutex &mutex);

#endif

0 comments on commit eceead6

Please sign in to comment.