From kde-commits Tue Jan 17 22:33:55 2006 From: Matthias Kretz Date: Tue, 17 Jan 2006 22:33:55 +0000 To: kde-commits Subject: branches/work/kdelibs-phonon/phonon/ifaces (silent) Message-Id: <1137537235.712202.21820.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=113753724416746 SVN commit 499493 by mkretz: SVN_SILENT: default implementation for remainingTime() M +1 -1 bytestream.h --- branches/work/kdelibs-phonon/phonon/ifaces/bytestream.h #499492:499493 @@ -34,7 +34,7 @@ virtual ~ByteStream() {} virtual long totalTime() const = 0; - virtual long remainingTime() const = 0; + virtual long remainingTime() const { return totalTime() - currentTime(); } virtual long aboutToFinishTime() const = 0; virtual long streamSize() const = 0; virtual bool streamSeekable() const = 0;