~ubuntu-branches/ubuntu/quantal/aria2/quantal

« back to all changes in this revision

Viewing changes to src/SingleFileAllocationIterator.h

  • Committer: Bazaar Package Importer
  • Author(s): Kartik Mistry
  • Date: 2010-11-24 12:26:31 UTC
  • mfrom: (1.6.1 upstream) (2.3.8 experimental)
  • Revision ID: james.westby@ubuntu.com-20101124122631-upujekj1ek94h3x2
Tags: 1.10.6-1
* New upstream release:
  + Fixed FTBFS on alpha arch (Closes: #590257)
  + Added IPv6 support (Closes: #448390)
* debian/patches/ftbfs_kfreebsd.diff:
  + Dropped, merged upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
 * files in the program, then also delete it here.
33
33
 */
34
34
/* copyright --> */
35
 
#ifndef _D_SINGLE_FILE_ALLOCATION_ITERATOR_H_
36
 
#define _D_SINGLE_FILE_ALLOCATION_ITERATOR_H_
 
35
#ifndef D_SINGLE_FILE_ALLOCATION_ITERATOR_H
 
36
#define D_SINGLE_FILE_ALLOCATION_ITERATOR_H
37
37
 
38
38
#include "FileAllocationIterator.h"
39
39
 
40
40
namespace aria2 {
41
41
 
42
42
class BinaryStream;
 
43
class Logger;
43
44
 
44
45
class SingleFileAllocationIterator:public FileAllocationIterator
45
46
{
51
52
  uint64_t totalLength_;
52
53
 
53
54
  unsigned char* buffer_;
 
55
 
 
56
  Logger* logger_;
54
57
public:
55
58
  SingleFileAllocationIterator(BinaryStream* stream, off_t offset, uint64_t totalLength);
56
59
 
78
81
 
79
82
} // namespace aria2
80
83
 
81
 
#endif // _D_SINGLE_FILE_ALLOCATION_ITERATOR_H_
 
84
#endif // D_SINGLE_FILE_ALLOCATION_ITERATOR_H