From af207e6cd8ea27b58a0e82f720d0fe75a33cd76b Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 3 Oct 2010 13:31:58 +0000 Subject: 2010-10-03 Tatsuhiro Tsujikawa Print message when performing slow file allocation at first time. * src/SingleFileAllocationIterator.cc * src/SingleFileAllocationIterator.h --- src/SingleFileAllocationIterator.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/SingleFileAllocationIterator.h') diff --git a/src/SingleFileAllocationIterator.h b/src/SingleFileAllocationIterator.h index 11df3b6d..3efc0d9e 100644 --- a/src/SingleFileAllocationIterator.h +++ b/src/SingleFileAllocationIterator.h @@ -40,6 +40,7 @@ namespace aria2 { class BinaryStream; +class Logger; class SingleFileAllocationIterator:public FileAllocationIterator { @@ -51,6 +52,8 @@ private: uint64_t totalLength_; unsigned char* buffer_; + + Logger* logger_; public: SingleFileAllocationIterator(BinaryStream* stream, off_t offset, uint64_t totalLength); -- cgit