summaryrefslogtreecommitdiff
path: root/src/HttpInitiateConnectionCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-10-11 16:58:24 +0000
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2007-10-11 16:58:24 +0000
commit048a2cf59737f761876e81a77e8d064c45c752d7 (patch)
tree65c9d5498aafe6a8c8e640ddfcc43c7013504d0d /src/HttpInitiateConnectionCommand.h
parente26bbbb9eee140ba24402fe872a752b42f0077de (diff)
2007-10-12 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
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.
Diffstat (limited to 'src/HttpInitiateConnectionCommand.h')
-rw-r--r--src/HttpInitiateConnectionCommand.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/HttpInitiateConnectionCommand.h b/src/HttpInitiateConnectionCommand.h
index b77ede4e..fa0fa596 100644
--- a/src/HttpInitiateConnectionCommand.h
+++ b/src/HttpInitiateConnectionCommand.h
@@ -54,10 +54,7 @@ protected:
*/
virtual bool executeInternal();
#ifdef ENABLE_ASYNC_DNS
- virtual bool nameResolveFinished() const {
- return nameResolver->getStatus() == NameResolver::STATUS_SUCCESS ||
- nameResolver->getStatus() == NameResolver::STATUS_ERROR;
- }
+ virtual bool nameResolveFinished() const;
#endif // ENABLE_ASYNC_DNS
public:
HttpInitiateConnectionCommand(int cuid, const RequestHandle& req, RequestGroup* requestGroup, DownloadEngine* e);