From 048a2cf59737f761876e81a77e8d064c45c752d7 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Thu, 11 Oct 2007 16:58:24 +0000 Subject: 2007-10-12 Tatsuhiro Tsujikawa Implemented BitTorrent/http/ftp integrated download. I've rewritten lots of files and now some headers have forward class declarations to reduce compile time. The implementation is extremely alpha stage, I recommend to use this for testing purpose only. --- src/HttpResponseCommand.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/HttpResponseCommand.h') diff --git a/src/HttpResponseCommand.h b/src/HttpResponseCommand.h index f2c77061..18c3102e 100644 --- a/src/HttpResponseCommand.h +++ b/src/HttpResponseCommand.h @@ -36,8 +36,12 @@ #define _D_HTTP_RESPONSE_COMMAND_H_ #include "AbstractCommand.h" -#include "HttpConnection.h" -#include "HttpDownloadCommand.h" + +class HttpConnection; +extern typedef SharedHandle HttpConnectionHandle; +class HttpDownloadCommand; +class HttpResponse; +extern typedef SharedHandle HttpResponseHandle; class HttpResponseCommand : public AbstractCommand { private: @@ -46,7 +50,6 @@ private: bool handleDefaultEncoding(const HttpResponseHandle& httpResponse); bool handleOtherEncoding(const HttpResponseHandle& httpResponse); HttpDownloadCommand* createHttpDownloadCommand(const HttpResponseHandle& httpResponse); - bool doTorrentStuff(const HttpResponseHandle& httpResponse); protected: bool executeInternal(); public: -- cgit