aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/ThreadInputStream.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-05-11 15:34:48 +0200
committerMax Kellermann <max@duempel.org>2014-05-11 15:34:48 +0200
commit6773adc7716eea7656c4590b54f7c99840ff4087 (patch)
treeb71756798018721f3aa472ce1b81aa14e84239b8 /src/input/ThreadInputStream.hxx
parentee2afb35dd715d9f34a938cd54ed02a3c0091a78 (diff)
downloadmpd-6773adc7716eea7656c4590b54f7c99840ff4087.tar.gz
mpd-6773adc7716eea7656c4590b54f7c99840ff4087.tar.xz
mpd-6773adc7716eea7656c4590b54f7c99840ff4087.zip
InputStream: convert to class
Diffstat (limited to 'src/input/ThreadInputStream.hxx')
-rw-r--r--src/input/ThreadInputStream.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/input/ThreadInputStream.hxx b/src/input/ThreadInputStream.hxx
index 01428d717..8bae93a05 100644
--- a/src/input/ThreadInputStream.hxx
+++ b/src/input/ThreadInputStream.hxx
@@ -87,23 +87,23 @@ public:
protected:
void Lock() {
- base.mutex.lock();
+ base.Lock();
}
void Unlock() {
- base.mutex.unlock();
+ base.Unlock();
}
const char *GetURI() const {
assert(thread.IsInside());
- return base.uri.c_str();
+ return base.GetURI();
}
void SetMimeType(const char *mime) {
assert(thread.IsInside());
- base.mime = mime;
+ base.SetMimeType(mime);
}
/* to be implemented by the plugin */