Mercurial > hg > orthanc-wsi
comparison ViewerPlugin/Plugin.cpp @ 145:0b7e7be7d655
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 23 Apr 2018 16:21:58 +0200 |
parents | a0f9a3df1110 |
children | 442102e14933 |
comparison
equal
deleted
inserted
replaced
144:95832e6c4368 | 145:0b7e7be7d655 |
---|---|
320 } | 320 } |
321 | 321 |
322 transcoderSemaphore_.reset(new Orthanc::Semaphore(threads)); | 322 transcoderSemaphore_.reset(new Orthanc::Semaphore(threads)); |
323 | 323 |
324 char info[1024]; | 324 char info[1024]; |
325 sprintf(info, "The whole-slide imaging plugin will use at most %d threads to transcode the tiles", threads); | 325 sprintf(info, "The whole-slide imaging plugin will use at most %u threads to transcode the tiles", threads); |
326 OrthancPluginLogWarning(context_, info); | 326 OrthancPluginLogWarning(context_, info); |
327 | 327 |
328 OrthancPluginSetDescription(context, "Provides a Web viewer of whole-slide microscopic images within Orthanc."); | 328 OrthancPluginSetDescription(context, "Provides a Web viewer of whole-slide microscopic images within Orthanc."); |
329 | 329 |
330 orthanc_.reset(new OrthancPlugins::OrthancPluginConnection(context)); | 330 orthanc_.reset(new OrthancPlugins::OrthancPluginConnection(context)); |