Mercurial > hg > orthanc
diff OrthancCppClient/OrthancConnection.h @ 496:7f7a2d174acb laaw
preparing Laaw packaging
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 17 Jul 2013 17:07:12 +0200 |
parents | 482cde3f3c14 |
children | ec19da4a1fe7 |
line wrap: on
line diff
--- a/OrthancCppClient/OrthancConnection.h Wed Jul 17 13:45:28 2013 +0200 +++ b/OrthancCppClient/OrthancConnection.h Wed Jul 17 17:07:12 2013 +0200 @@ -38,7 +38,7 @@ namespace OrthancClient { - class OrthancConnection : + class LAAW_API OrthancConnection : public boost::noncopyable, private Orthanc::ArrayFilledByThreads::IFiller { @@ -64,12 +64,12 @@ const char* username, const char* password); - unsigned int GetThreadCount() const + uint32_t GetThreadCount() const { return patients_.GetThreadCount(); } - void SetThreadCount(unsigned int threadCount) + void SetThreadCount(uint32_t threadCount) { patients_.SetThreadCount(threadCount); } @@ -84,16 +84,16 @@ return client_; } - const std::string& GetOrthancUrl() const + const char* GetOrthancUrl() const { - return orthancUrl_; + return orthancUrl_.c_str(); } - unsigned int GetPatientCount() + uint32_t GetPatientCount() { return patients_.GetSize(); } - Patient& GetPatient(unsigned int index); + Patient& GetPatient(uint32_t index); }; }