summaryrefslogtreecommitdiff
path: root/src/CheckIntegrityCommand.cc
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-02-08 15:53:45 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2008-02-08 15:53:45 +0000
commit1b7c1982896dba1d38e1fe84ba9660996607f5f9 (patch)
treed12047cb37ded1e18d4d5b97844412538beb19ff /src/CheckIntegrityCommand.cc
parentd82e183d346375ac8a58a298a58728be615f947e (diff)
2008-02-08 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Removed "using namespace std;" from all sources. Appended std:: prefix to c++ standard classes. Included string.h where mem* function are used.
Diffstat (limited to 'src/CheckIntegrityCommand.cc')
-rw-r--r--src/CheckIntegrityCommand.cc10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/CheckIntegrityCommand.cc b/src/CheckIntegrityCommand.cc
index d5db23c5..e5c9fa11 100644
--- a/src/CheckIntegrityCommand.cc
+++ b/src/CheckIntegrityCommand.cc
@@ -35,14 +35,14 @@
#include "CheckIntegrityCommand.h"
#include "CheckIntegrityMan.h"
#include "CheckIntegrityEntry.h"
+#include "DownloadEngine.h"
#include "RequestGroup.h"
-#include "FileAllocationEntry.h"
-#include "InitiateConnectionCommandFactory.h"
-#include "DlAbortEx.h"
+#include "Logger.h"
#include "message.h"
-#include "DownloadCommand.h"
#include "prefs.h"
+namespace aria2 {
+
CheckIntegrityCommand::CheckIntegrityCommand(int32_t cuid, RequestGroup* requestGroup, DownloadEngine* e, const CheckIntegrityEntryHandle& entry):
RealtimeCommand(cuid, requestGroup, e),
_entry(entry)
@@ -84,3 +84,5 @@ bool CheckIntegrityCommand::handleException(Exception* e)
logger->error(MSG_DOWNLOAD_NOT_COMPLETE, cuid, _requestGroup->getFilePath().c_str());
return true;
}
+
+} // namespace aria2