~ubuntu-branches/ubuntu/wily/aria2/wily-proposed

« back to all changes in this revision

Viewing changes to src/WrDiskCacheEntry.h

  • Committer: Package Import Robot
  • Author(s): Kartik Mistry, Kartik Mistry, Patrick Ruckstuhl
  • Date: 2013-09-22 18:52:14 UTC
  • mfrom: (2.5.19 sid)
  • Revision ID: package-import@ubuntu.com-20130922185214-upeu2ljgeqi7e7oo
Tags: 1.18.0-1
[ Kartik Mistry ]
* New upstream release.
* debian/control:
  + (really) Set priority to optional from extra (Closes: #697659).
  + wrap-and-sort some fields.

[ Patrick Ruckstuhl ]
* debian/rules:
  + Allow parallel building (Closes: #720977)
* debian/tests, debian/control:
  + autopkgtest infrastructure

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
#include "common.h"
39
39
 
40
40
#include <set>
 
41
#include <memory>
41
42
 
42
 
#include "SharedHandle.h"
43
43
#include "a2functional.h"
44
44
#include "error_code.h"
45
45
 
68
68
 
69
69
  typedef std::set<DataCell*, DerefLess<DataCell*> > DataCellSet;
70
70
 
71
 
  WrDiskCacheEntry(const SharedHandle<DiskAdaptor>& diskAdaptor);
 
71
  WrDiskCacheEntry(const std::shared_ptr<DiskAdaptor>& diskAdaptor);
72
72
  ~WrDiskCacheEntry();
73
73
 
74
74
  // Flushes the cached data to the disk and deletes them.
140
140
  int error_;
141
141
  error_code::Value errorCode_;
142
142
 
143
 
  SharedHandle<DiskAdaptor> diskAdaptor_;
 
143
  std::shared_ptr<DiskAdaptor> diskAdaptor_;
144
144
};
145
145
 
146
146
} // namespace aria2