From 1b7c1982896dba1d38e1fe84ba9660996607f5f9 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 8 Feb 2008 15:53:45 +0000 Subject: 2008-02-08 Tatsuhiro Tsujikawa Removed "using namespace std;" from all sources. Appended std:: prefix to c++ standard classes. Included string.h where mem* function are used. --- src/HttpDownloadCommand.h | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/HttpDownloadCommand.h') 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 HttpConnectionHandle; +class SocketCore; class HttpDownloadCommand : public DownloadCommand { private: - HttpConnectionHandle _httpConnection; + SharedHandle _httpConnection; protected: virtual bool prepareForNextSegment(); public: HttpDownloadCommand(int cuid, - const RequestHandle req, + const SharedHandle req, RequestGroup* requestGroup, - const HttpConnectionHandle& httpConnection, + const SharedHandle& httpConnection, DownloadEngine* e, - const SocketHandle& s); + const SharedHandle& s); virtual ~HttpDownloadCommand(); }; -#endif // _D_HTTP_DOWNLOAD_COMMAND_H_ +} // namespace aria2 - +#endif // _D_HTTP_DOWNLOAD_COMMAND_H_ -- cgit