summaryrefslogtreecommitdiff
path: root/src/HttpSkipResponseCommand.h
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-22 01:10:38 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2013-06-22 01:10:38 +0900
commit07d270c87e6f9184aea4ca17eb26e466712e8db2 (patch)
tree2dfbaa2e0d2ad0f38cb73098608f7d67a64320f8 /src/HttpSkipResponseCommand.h
parent126a4bde612eb0e6c48cf2f13ebe3eac45cc71a8 (diff)
Require -std=c++11 and use std::shared_ptr instead of SharedHandle
Diffstat (limited to 'src/HttpSkipResponseCommand.h')
-rw-r--r--src/HttpSkipResponseCommand.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/HttpSkipResponseCommand.h b/src/HttpSkipResponseCommand.h
index efbdc2a8..d30e1889 100644
--- a/src/HttpSkipResponseCommand.h
+++ b/src/HttpSkipResponseCommand.h
@@ -45,11 +45,11 @@ class StreamFilter;
class HttpSkipResponseCommand : public AbstractCommand {
private:
- SharedHandle<HttpConnection> httpConnection_;
+ std::shared_ptr<HttpConnection> httpConnection_;
- SharedHandle<HttpResponse> httpResponse_;
+ std::shared_ptr<HttpResponse> httpResponse_;
- SharedHandle<StreamFilter> streamFilter_;
+ std::shared_ptr<StreamFilter> streamFilter_;
bool sinkFilterOnly_;
@@ -65,17 +65,17 @@ protected:
public:
HttpSkipResponseCommand
(cuid_t cuid,
- const SharedHandle<Request>& req,
- const SharedHandle<FileEntry>& fileEntry,
+ const std::shared_ptr<Request>& req,
+ const std::shared_ptr<FileEntry>& fileEntry,
RequestGroup* requestGroup,
- const SharedHandle<HttpConnection>& httpConnection,
- const SharedHandle<HttpResponse>& httpResponse,
+ const std::shared_ptr<HttpConnection>& httpConnection,
+ const std::shared_ptr<HttpResponse>& httpResponse,
DownloadEngine* e,
- const SharedHandle<SocketCore>& s);
+ const std::shared_ptr<SocketCore>& s);
virtual ~HttpSkipResponseCommand();
- void installStreamFilter(const SharedHandle<StreamFilter>& streamFilter);
+ void installStreamFilter(const std::shared_ptr<StreamFilter>& streamFilter);
void disableSocketCheck();
};