From 6f3d70b5e24cebbd6fd8c3a665a801628ef912ff Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 27 Jan 2013 17:20:50 +0100 Subject: DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCond --- src/PlaylistRegistry.hxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/PlaylistRegistry.hxx') diff --git a/src/PlaylistRegistry.hxx b/src/PlaylistRegistry.hxx index 5116b508..a9fc56dc 100644 --- a/src/PlaylistRegistry.hxx +++ b/src/PlaylistRegistry.hxx @@ -20,6 +20,9 @@ #ifndef MPD_PLAYLIST_REGISTRY_HXX #define MPD_PLAYLIST_REGISTRY_HXX +#include "thread/Mutex.hxx" +#include "thread/Cond.hxx" + #include #include @@ -51,7 +54,7 @@ playlist_list_global_finish(void); * Opens a playlist by its URI. */ struct playlist_provider * -playlist_list_open_uri(const char *uri, GMutex *mutex, GCond *cond); +playlist_list_open_uri(const char *uri, Mutex &mutex, Cond &cond); /** * Opens a playlist from an input stream. @@ -79,7 +82,7 @@ playlist_suffix_supported(const char *suffix); * @return a playlist, or NULL on error */ struct playlist_provider * -playlist_list_open_path(const char *path_fs, GMutex *mutex, GCond *cond, +playlist_list_open_path(const char *path_fs, Mutex &mutex, Cond &cond, struct input_stream **is_r); #endif -- cgit v1.2.3