From 29ab73673e547abd20fc1a98e6ae642b11952808 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Tue, 14 Sep 2010 01:06:18 +0000 Subject: We should have no more problems with Bu::Client, I finished cleaning it up, implementing remaining empty functions. --- src/client.cpp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/src/client.cpp b/src/client.cpp index e6f60e9..becd1bd 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -234,6 +234,7 @@ void Bu::Client::tick() long Bu::Client::tell() { + return 0; } void Bu::Client::seek( long offset ) @@ -241,12 +242,14 @@ void Bu::Client::seek( long offset ) return qbRead.seek( offset ); } -void Bu::Client::setPos( long pos ) +void Bu::Client::setPos( long ) { + throw Bu::ExceptionBase(); } -void Bu::Client::setPosEnd( long pos ) +void Bu::Client::setPosEnd( long ) { + throw Bu::ExceptionBase(); } bool Bu::Client::isEos() @@ -256,6 +259,7 @@ bool Bu::Client::isEos() void Bu::Client::flush() { + processOutput(); } bool Bu::Client::canRead() @@ -288,11 +292,13 @@ bool Bu::Client::isBlocking() return false; } -void Bu::Client::setBlocking( bool bBlocking ) +void Bu::Client::setBlocking( bool ) { + throw Bu::ExceptionBase(); } -void Bu::Client::setSize( long iSize ) +void Bu::Client::setSize( long ) { + throw Bu::ExceptionBase(); } -- cgit v1.2.3