From 6773adc7716eea7656c4590b54f7c99840ff4087 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 11 May 2014 15:34:48 +0200 Subject: InputStream: convert to class --- src/input/ThreadInputStream.hxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/input/ThreadInputStream.hxx') 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 */ -- cgit v1.2.3