summaryrefslogtreecommitdiff
path: root/src/RequestGroup.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-11-28 16:52:02 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2010-11-28 16:52:02 +0900
commit947967fc631f885dae3726a80de3a85084fbca81 (patch)
treed2cab447a42fe1728b470a664bf652ab4e9a54a3 /src/RequestGroup.h
parent13e3cf2573a6d3053674563c26cbbeac8ae42f36 (diff)
Renamed DownloadErrorCode.h as error_code.h. Renamed
downloaderrorcode::Value as error_code::Value.
Diffstat (limited to 'src/RequestGroup.h')
-rw-r--r--src/RequestGroup.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/RequestGroup.h b/src/RequestGroup.h
index 8bc8dc22..2ce14ecd 100644
--- a/src/RequestGroup.h
+++ b/src/RequestGroup.h
@@ -45,7 +45,7 @@
#include "TransferStat.h"
#include "TimeA2.h"
#include "Request.h"
-#include "DownloadResultCode.h"
+#include "error_code.h"
#include "MetadataInfo.h"
namespace aria2 {
@@ -185,11 +185,11 @@ private:
bool tryAutoFileRenaming();
// Returns the result code of this RequestGroup. If the download
- // finished, then returns downloadresultcode::FINISHED. If the
+ // finished, then returns error_code::FINISHED. If the
// download didn't finish and error result is available in
// _uriResults, then last result code is returned. Otherwise
- // returns downloadresultcode::UNKNOWN_ERROR.
- downloadresultcode::RESULT downloadResult() const;
+ // returns error_code::UNKNOWN_ERROR.
+ error_code::Value downloadResult() const;
void removeDefunctControlFile
(const SharedHandle<BtProgressInfoFile>& progressInfoFile);
@@ -481,7 +481,7 @@ public:
maxUploadSpeedLimit_ = speed;
}
- void setLastUriResult(std::string uri, downloadresultcode::RESULT result);
+ void setLastUriResult(std::string uri, error_code::Value result);
void saveControlFile() const;