diff options
author | Mike Buland <eichlan@xagasoft.com> | 2010-09-14 01:06:18 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2010-09-14 01:06:18 +0000 |
commit | 29ab73673e547abd20fc1a98e6ae642b11952808 (patch) | |
tree | 757e071a3464e2d79a172c71f6976888bce1bbff /src | |
parent | e9ecce579e116629db3207d50c21c6418535f618 (diff) | |
download | libbu++-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.cpp | 14 |
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 | ||
235 | long Bu::Client::tell() | 235 | long Bu::Client::tell() |
236 | { | 236 | { |
237 | return 0; | ||
237 | } | 238 | } |
238 | 239 | ||
239 | void Bu::Client::seek( long offset ) | 240 | void 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 | ||
244 | void Bu::Client::setPos( long pos ) | 245 | void Bu::Client::setPos( long ) |
245 | { | 246 | { |
247 | throw Bu::ExceptionBase(); | ||
246 | } | 248 | } |
247 | 249 | ||
248 | void Bu::Client::setPosEnd( long pos ) | 250 | void Bu::Client::setPosEnd( long ) |
249 | { | 251 | { |
252 | throw Bu::ExceptionBase(); | ||
250 | } | 253 | } |
251 | 254 | ||
252 | bool Bu::Client::isEos() | 255 | bool Bu::Client::isEos() |
@@ -256,6 +259,7 @@ bool Bu::Client::isEos() | |||
256 | 259 | ||
257 | void Bu::Client::flush() | 260 | void Bu::Client::flush() |
258 | { | 261 | { |
262 | processOutput(); | ||
259 | } | 263 | } |
260 | 264 | ||
261 | bool Bu::Client::canRead() | 265 | bool Bu::Client::canRead() |
@@ -288,11 +292,13 @@ bool Bu::Client::isBlocking() | |||
288 | return false; | 292 | return false; |
289 | } | 293 | } |
290 | 294 | ||
291 | void Bu::Client::setBlocking( bool bBlocking ) | 295 | void Bu::Client::setBlocking( bool ) |
292 | { | 296 | { |
297 | throw Bu::ExceptionBase(); | ||
293 | } | 298 | } |
294 | 299 | ||
295 | void Bu::Client::setSize( long iSize ) | 300 | void Bu::Client::setSize( long ) |
296 | { | 301 | { |
302 | throw Bu::ExceptionBase(); | ||
297 | } | 303 | } |
298 | 304 | ||