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/PlaylistPlugin.hxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/PlaylistPlugin.hxx') diff --git a/src/PlaylistPlugin.hxx b/src/PlaylistPlugin.hxx index 38e6f857..d422106b 100644 --- a/src/PlaylistPlugin.hxx +++ b/src/PlaylistPlugin.hxx @@ -20,7 +20,8 @@ #ifndef MPD_PLAYLIST_PLUGIN_HXX #define MPD_PLAYLIST_PLUGIN_HXX -#include +#include "thread/Mutex.hxx" +#include "thread/Cond.hxx" #include @@ -66,7 +67,7 @@ struct playlist_plugin { * either matched one of the schemes or one of the suffixes. */ struct playlist_provider *(*open_uri)(const char *uri, - GMutex *mutex, GCond *cond); + Mutex &mutex, Cond &cond); /** * Opens the playlist in the specified input stream. It has @@ -113,7 +114,7 @@ playlist_plugin_finish(const struct playlist_plugin *plugin) static inline struct playlist_provider * playlist_plugin_open_uri(const struct playlist_plugin *plugin, const char *uri, - GMutex *mutex, GCond *cond) + Mutex &mutex, Cond &cond) { return plugin->open_uri(uri, mutex, cond); } -- cgit v1.2.3