summaryrefslogtreecommitdiff
path: root/src/RealtimeCommand.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/RealtimeCommand.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/RealtimeCommand.h')
-rw-r--r--src/RealtimeCommand.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/RealtimeCommand.h b/src/RealtimeCommand.h
index 915aa56b..203c0eeb 100644
--- a/src/RealtimeCommand.h
+++ b/src/RealtimeCommand.h
@@ -39,16 +39,17 @@
#include "RequestGroup.h"
#include "DownloadEngine.h"
#include "Exception.h"
+#include "RequestGroupAware.h"
-class RealtimeCommand : public Command {
+class RealtimeCommand : public Command, public RequestGroupAware {
protected:
- RequestGroup* _requestGroup;
DownloadEngine* _e;
public:
RealtimeCommand(int cuid, RequestGroup* requestGroup, DownloadEngine* e):
Command(cuid),
- _requestGroup(requestGroup),
- _e(e) {}
+ RequestGroupAware(requestGroup),
+ _e(e)
+ {}
virtual ~RealtimeCommand() {}