Mercurial > hg > orthanc
diff PalantirCppClient/HttpClient.h @ 43:9be852ad33d2
rename for c
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 04 Sep 2012 09:59:34 +0200 |
parents | 3959d33612cc |
children |
line wrap: on
line diff
--- a/PalantirCppClient/HttpClient.h Mon Sep 03 11:34:00 2012 +0200 +++ b/PalantirCppClient/HttpClient.h Tue Sep 04 09:59:34 2012 +0200 @@ -43,8 +43,8 @@ boost::shared_ptr<PImpl> pimpl_; std::string url_; - HttpMethod method_; - HttpStatus lastStatus_; + Palantir_HttpMethod method_; + Palantir_HttpStatus lastStatus_; std::string postData_; bool isVerbose_; @@ -68,12 +68,12 @@ return url_; } - void SetMethod(HttpMethod method) + void SetMethod(Palantir_HttpMethod method) { method_ = method; } - HttpMethod GetMethod() const + Palantir_HttpMethod GetMethod() const { return method_; } @@ -99,7 +99,7 @@ bool Apply(Json::Value& answer); - HttpStatus GetLastStatus() const + Palantir_HttpStatus GetLastStatus() const { return lastStatus_; }