summaryrefslogtreecommitdiff
path: root/src/HttpProxyRequestCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/HttpProxyRequestCommand.h')
-rw-r--r--src/HttpProxyRequestCommand.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/src/HttpProxyRequestCommand.h b/src/HttpProxyRequestCommand.h
index ffec1746..e2aa052a 100644
--- a/src/HttpProxyRequestCommand.h
+++ b/src/HttpProxyRequestCommand.h
@@ -35,15 +35,17 @@
#ifndef _D_HTTP_PROXY_REQUEST_COMMAND_H_
#define _D_HTTP_PROXY_REQUEST_COMMAND_H_
-#include "AbstractCommand.h"
+#include "AbstractProxyRequestCommand.h"
-class HttpProxyRequestCommand : public AbstractCommand {
-protected:
- bool executeInternal(Segment& segment);
+class HttpProxyRequestCommand : public AbstractProxyRequestCommand {
public:
- HttpProxyRequestCommand(int cuid, const RequestHandle req, DownloadEngine* e,
+ HttpProxyRequestCommand(int cuid,
+ const RequestHandle& req,
+ DownloadEngine* e,
const SocketHandle& s);
- ~HttpProxyRequestCommand();
+ virtual ~HttpProxyRequestCommand();
+
+ virtual Command* getNextCommand();
};
#endif // _D_HTTP_PROXY_REQUEST_COMMAND_H_