comparison ViewerPlugin/Plugin.cpp @ 8:62adabb8c122

Provide "--version" in command-line tools
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 26 Oct 2016 16:53:54 +0200
parents 77b76c1a213f
children 7a88c614be04
comparison
equal deleted inserted replaced
7:bc3ca410b765 8:62adabb8c122
350 350
351 char info[1024]; 351 char info[1024];
352 sprintf(info, "The whole-slide imaging plugin will use at most %d threads to transcode the tiles", threads); 352 sprintf(info, "The whole-slide imaging plugin will use at most %d threads to transcode the tiles", threads);
353 OrthancPluginLogWarning(context_, info); 353 OrthancPluginLogWarning(context_, info);
354 354
355 OrthancPluginSetDescription(context, "Plugin to serve whole-slide microscopic images from Orthanc."); 355 OrthancPluginSetDescription(context, "Provides a Web viewer of whole-slide microscopic images within Orthanc.");
356 356
357 orthanc_.reset(new OrthancWSI::PluginOrthancConnection(context)); 357 orthanc_.reset(new OrthancWSI::PluginOrthancConnection(context));
358 cache_.reset(new OrthancWSI::DicomPyramidCache(*orthanc_)); 358 cache_.reset(new OrthancWSI::DicomPyramidCache(*orthanc_));
359 359
360 OrthancPluginRegisterOnChangeCallback(context_, OnChangeCallback); 360 OrthancPluginRegisterOnChangeCallback(context_, OnChangeCallback);