aboutsummaryrefslogtreecommitdiffstats
path: root/src/PlaylistPlugin.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-27 17:20:50 +0100
committerMax Kellermann <max@duempel.org>2013-01-27 18:39:32 +0100
commit6f3d70b5e24cebbd6fd8c3a665a801628ef912ff (patch)
tree88ab67b76bac4b88422c3debe7c46d6168a71934 /src/PlaylistPlugin.hxx
parent257a0dee758049586efbf0dc3f0339b0cef03456 (diff)
downloadmpd-6f3d70b5e24cebbd6fd8c3a665a801628ef912ff.tar.gz
mpd-6f3d70b5e24cebbd6fd8c3a665a801628ef912ff.tar.xz
mpd-6f3d70b5e24cebbd6fd8c3a665a801628ef912ff.zip
DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCond
Diffstat (limited to '')
-rw-r--r--src/PlaylistPlugin.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/PlaylistPlugin.hxx b/src/PlaylistPlugin.hxx
index 38e6f8571..d422106bb 100644
--- a/src/PlaylistPlugin.hxx
+++ b/src/PlaylistPlugin.hxx
@@ -20,7 +20,8 @@
#ifndef MPD_PLAYLIST_PLUGIN_HXX
#define MPD_PLAYLIST_PLUGIN_HXX
-#include <glib.h>
+#include "thread/Mutex.hxx"
+#include "thread/Cond.hxx"
#include <stddef.h>
@@ -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);
}