Mercurial > hg > orthanc
diff Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 2062:40ffd0e8676a
generation of etag in ServeFolders
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Sat, 02 Jul 2016 15:09:03 +0200 |
parents | e12d83e9ee59 |
children | d5c29fd74ffa |
line wrap: on
line diff
--- a/Plugins/Samples/Common/OrthancPluginCppWrapper.h Sat Jul 02 11:16:25 2016 +0200 +++ b/Plugins/Samples/Common/OrthancPluginCppWrapper.h Sat Jul 02 15:09:03 2016 +0200 @@ -76,6 +76,8 @@ OrthancPluginContext* context_; OrthancPluginMemoryBuffer buffer_; + void Check(OrthancPluginErrorCode code); + public: MemoryBuffer(OrthancPluginContext* context); @@ -152,6 +154,8 @@ void CreateDicom(const Json::Value& tags, OrthancPluginCreateDicomFlags flags); + + void ReadFile(const std::string& path); };