mirror of https://github.com/aria2/aria2
2008-04-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Added getDownloadResults() method * src/RequestGroupMan.cc * src/RequestGroupMan.hpull/1/head
parent
4f6df4be39
commit
e0877ec26b
|
@ -1,3 +1,9 @@
|
||||||
|
2008-04-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
|
Added getDownloadResults() method
|
||||||
|
* src/RequestGroupMan.cc
|
||||||
|
* src/RequestGroupMan.h
|
||||||
|
|
||||||
2008-04-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
2008-04-23 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||||
|
|
||||||
Fixed the bug that aria2 exits when commands is empty() but
|
Fixed the bug that aria2 exits when commands is empty() but
|
||||||
|
|
|
@ -337,4 +337,10 @@ TransferStat RequestGroupMan::calculateStat()
|
||||||
adopt2nd(std::plus<TransferStat>(), mem_fun_sh(&RequestGroup::calculateStat)));
|
adopt2nd(std::plus<TransferStat>(), mem_fun_sh(&RequestGroup::calculateStat)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const std::deque<SharedHandle<DownloadResult> >&
|
||||||
|
RequestGroupMan::getDownloadResults() const
|
||||||
|
{
|
||||||
|
return _downloadResults;
|
||||||
|
}
|
||||||
|
|
||||||
} // namespace aria2
|
} // namespace aria2
|
||||||
|
|
|
@ -120,6 +120,10 @@ public:
|
||||||
};
|
};
|
||||||
|
|
||||||
DownloadStat getDownloadStat() const;
|
DownloadStat getDownloadStat() const;
|
||||||
|
|
||||||
|
const std::deque<SharedHandle<DownloadResult> >&
|
||||||
|
getDownloadResults() const;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef SharedHandle<RequestGroupMan> RequestGroupManHandle;
|
typedef SharedHandle<RequestGroupMan> RequestGroupManHandle;
|
||||||
|
|
Loading…
Reference in New Issue