diff options
author | Max Kellermann <max@duempel.org> | 2013-01-27 17:20:50 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-27 18:39:32 +0100 |
commit | 6f3d70b5e24cebbd6fd8c3a665a801628ef912ff (patch) | |
tree | 88ab67b76bac4b88422c3debe7c46d6168a71934 /src/ArchivePlugin.hxx | |
parent | 257a0dee758049586efbf0dc3f0339b0cef03456 (diff) | |
download | mpd-6f3d70b5e24cebbd6fd8c3a665a801628ef912ff.tar.gz mpd-6f3d70b5e24cebbd6fd8c3a665a801628ef912ff.tar.xz mpd-6f3d70b5e24cebbd6fd8c3a665a801628ef912ff.zip |
DecoderControl, InputStream: use Mutex/Cond instead of GMutex/GCond
Diffstat (limited to 'src/ArchivePlugin.hxx')
-rw-r--r-- | src/ArchivePlugin.hxx | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ArchivePlugin.hxx b/src/ArchivePlugin.hxx index fe701460d..66ec6d830 100644 --- a/src/ArchivePlugin.hxx +++ b/src/ArchivePlugin.hxx @@ -20,7 +20,9 @@ #ifndef MPD_ARCHIVE_PLUGIN_HXX #define MPD_ARCHIVE_PLUGIN_HXX -#include <glib.h> +#include "thread/Mutex.hxx" +#include "thread/Cond.hxx" +#include "gerror.h" struct input_stream; struct archive_file; @@ -71,7 +73,7 @@ struct archive_plugin { */ struct input_stream *(*open_stream)(struct archive_file *af, const char *path, - GMutex *mutex, GCond *cond, + Mutex &mutex, Cond &cond, GError **error_r); /** @@ -101,7 +103,7 @@ archive_file_scan_next(struct archive_file *file); struct input_stream * archive_file_open_stream(struct archive_file *file, const char *path, - GMutex *mutex, GCond *cond, + Mutex &mutex, Cond &cond, GError **error_r); #endif |