diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-10-03 13:31:58 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2010-10-03 13:31:58 +0000 |
| commit | af207e6cd8ea27b58a0e82f720d0fe75a33cd76b (patch) | |
| tree | efe7fee5055d882346339a291baa11458fda9435 /src/SingleFileAllocationIterator.h | |
| parent | 32d4ffa8ee14f460007d6f4a6e2af3ef21b0cb00 (diff) | |
2010-10-03 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Print message when performing slow file allocation at first time.
* src/SingleFileAllocationIterator.cc
* src/SingleFileAllocationIterator.h
Diffstat (limited to 'src/SingleFileAllocationIterator.h')
| -rw-r--r-- | src/SingleFileAllocationIterator.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |
