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/TimeBasedCommand.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/TimeBasedCommand.h') diff --git a/src/TimeBasedCommand.h b/src/TimeBasedCommand.h index f23353f6..b4829e5c 100644 --- a/src/TimeBasedCommand.h +++ b/src/TimeBasedCommand.h @@ -37,7 +37,8 @@ #include "Command.h" #include "TimeA2.h" -#include "DownloadEngine.h" + +class DownloadEngine; class TimeBasedCommand : public Command { @@ -73,10 +74,9 @@ public: virtual void postProcess() {}; public: - TimeBasedCommand(int32_t cuid, DownloadEngine* e, int32_t interval): - Command(cuid), _e(e),_exit(false), _interval(interval) {} + TimeBasedCommand(int32_t cuid, DownloadEngine* e, int32_t interval); - virtual ~TimeBasedCommand() {} + virtual ~TimeBasedCommand(); virtual bool execute(); }; -- cgit