summaryrefslogtreecommitdiff
path: root/src/HttpDownloadCommand.h
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/HttpDownloadCommand.h
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/HttpDownloadCommand.h')
-rw-r--r--src/HttpDownloadCommand.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/HttpDownloadCommand.h b/src/HttpDownloadCommand.h
index 7a784ee3..2e722f70 100644
--- a/src/HttpDownloadCommand.h
+++ b/src/HttpDownloadCommand.h
@@ -37,24 +37,26 @@
#include "DownloadCommand.h"
+namespace aria2 {
+
class HttpConnection;
-typedef SharedHandle<HttpConnection> HttpConnectionHandle;
+class SocketCore;
class HttpDownloadCommand : public DownloadCommand {
private:
- HttpConnectionHandle _httpConnection;
+ SharedHandle<HttpConnection> _httpConnection;
protected:
virtual bool prepareForNextSegment();
public:
HttpDownloadCommand(int cuid,
- const RequestHandle req,
+ const SharedHandle<Request> req,
RequestGroup* requestGroup,
- const HttpConnectionHandle& httpConnection,
+ const SharedHandle<HttpConnection>& httpConnection,
DownloadEngine* e,
- const SocketHandle& s);
+ const SharedHandle<SocketCore>& s);
virtual ~HttpDownloadCommand();
};
-#endif // _D_HTTP_DOWNLOAD_COMMAND_H_
+} // namespace aria2
-
+#endif // _D_HTTP_DOWNLOAD_COMMAND_H_