diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-28 23:27:46 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-09-28 23:27:46 +0900 |
| commit | 3258614033aaf8288dc4b14275c72a1bb3b65a7e (patch) | |
| tree | 4a877d5d2920570d9436403e94dcf0c6345401aa /src/HttpConnection.h | |
| parent | 1c57a3ff9f5021a40aca1fec2583f6245f3a4581 (diff) | |
Removed *Handle typedef
Diffstat (limited to 'src/HttpConnection.h')
| -rw-r--r-- | src/HttpConnection.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/HttpConnection.h b/src/HttpConnection.h index 4467a4d2..d337782e 100644 --- a/src/HttpConnection.h +++ b/src/HttpConnection.h @@ -74,8 +74,7 @@ public: } }; -typedef SharedHandle<HttpRequestEntry> HttpRequestEntryHandle; -typedef std::deque<HttpRequestEntryHandle> HttpRequestEntries; +typedef std::deque<SharedHandle<HttpRequestEntry> > HttpRequestEntries; class HttpConnection { private: @@ -114,10 +113,10 @@ public: * object which contains response header and HttpRequestHandle object * for this response. * If a response is not fully received, received header is buffured - * in this object and returns 0. + * in this object and returns 0. * You should continue to call this method until whole response header is * received and this method returns non-null HttpResponseHandle object. - * + * * @return HttpResponse or 0 if whole response header is not received */ SharedHandle<HttpResponse> receiveResponse(); @@ -136,8 +135,6 @@ public: } }; -typedef SharedHandle<HttpConnection> HttpConnectionHandle; - } // namespace aria2 #endif // D_HTTP_CONNECTION_H |
