summaryrefslogtreecommitdiff
path: root/src/AbstractProxyResponseCommand.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/AbstractProxyResponseCommand.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/AbstractProxyResponseCommand.h')
-rw-r--r--src/AbstractProxyResponseCommand.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/AbstractProxyResponseCommand.h b/src/AbstractProxyResponseCommand.h
index b0ef904d..28c00c99 100644
--- a/src/AbstractProxyResponseCommand.h
+++ b/src/AbstractProxyResponseCommand.h
@@ -37,24 +37,28 @@
#include "AbstractCommand.h"
+namespace aria2 {
+
class HttpConnection;
-typedef SharedHandle<HttpConnection> HttpConnectionHandle;
+class SocketCore;
class AbstractProxyResponseCommand : public AbstractCommand {
protected:
- HttpConnectionHandle httpConnection;
+ SharedHandle<HttpConnection> httpConnection;
virtual bool executeInternal();
public:
AbstractProxyResponseCommand(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 ~AbstractProxyResponseCommand();
virtual Command* getNextCommand() = 0;
};
+} // namespace aria2
+
#endif // _D_ABSTRACT_PROXY_RESPONSE_COMMAND_H_