aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2010-09-14 01:06:18 +0000
committerMike Buland <eichlan@xagasoft.com>2010-09-14 01:06:18 +0000
commit29ab73673e547abd20fc1a98e6ae642b11952808 (patch)
tree757e071a3464e2d79a172c71f6976888bce1bbff /src
parente9ecce579e116629db3207d50c21c6418535f618 (diff)
downloadlibbu++-29ab73673e547abd20fc1a98e6ae642b11952808.tar.gz
libbu++-29ab73673e547abd20fc1a98e6ae642b11952808.tar.bz2
libbu++-29ab73673e547abd20fc1a98e6ae642b11952808.tar.xz
libbu++-29ab73673e547abd20fc1a98e6ae642b11952808.zip
We should have no more problems with Bu::Client, I finished cleaning it up,
implementing remaining empty functions.
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp14
1 files 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()
234 234
235long Bu::Client::tell() 235long Bu::Client::tell()
236{ 236{
237 return 0;
237} 238}
238 239
239void Bu::Client::seek( long offset ) 240void Bu::Client::seek( long offset )
@@ -241,12 +242,14 @@ void Bu::Client::seek( long offset )
241 return qbRead.seek( offset ); 242 return qbRead.seek( offset );
242} 243}
243 244
244void Bu::Client::setPos( long pos ) 245void Bu::Client::setPos( long )
245{ 246{
247 throw Bu::ExceptionBase();
246} 248}
247 249
248void Bu::Client::setPosEnd( long pos ) 250void Bu::Client::setPosEnd( long )
249{ 251{
252 throw Bu::ExceptionBase();
250} 253}
251 254
252bool Bu::Client::isEos() 255bool Bu::Client::isEos()
@@ -256,6 +259,7 @@ bool Bu::Client::isEos()
256 259
257void Bu::Client::flush() 260void Bu::Client::flush()
258{ 261{
262 processOutput();
259} 263}
260 264
261bool Bu::Client::canRead() 265bool Bu::Client::canRead()
@@ -288,11 +292,13 @@ bool Bu::Client::isBlocking()
288 return false; 292 return false;
289} 293}
290 294
291void Bu::Client::setBlocking( bool bBlocking ) 295void Bu::Client::setBlocking( bool )
292{ 296{
297 throw Bu::ExceptionBase();
293} 298}
294 299
295void Bu::Client::setSize( long iSize ) 300void Bu::Client::setSize( long )
296{ 301{
302 throw Bu::ExceptionBase();
297} 303}
298 304