diff Plugins/Engine/PluginsHttpHandler.cpp @ 900:1b92ce45cc8d plugins

plugin doc
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 18 Jun 2014 14:02:02 +0200
parents bb0a51561016
children 7d88f3f4a3b3
line wrap: on
line diff
--- a/Plugins/Engine/PluginsHttpHandler.cpp	Wed Jun 18 13:29:09 2014 +0200
+++ b/Plugins/Engine/PluginsHttpHandler.cpp	Wed Jun 18 14:02:02 2014 +0200
@@ -209,8 +209,8 @@
     {
       case OrthancPluginService_RegisterRestCallback:
       {
-        const OrthancPluginRestCallbackParams& p = 
-          *reinterpret_cast<const OrthancPluginRestCallbackParams*>(parameters);
+        const _OrthancPluginRestCallbackParams& p = 
+          *reinterpret_cast<const _OrthancPluginRestCallbackParams*>(parameters);
 
         LOG(INFO) << "Plugin has registered a REST callback on: " << p.pathRegularExpression;
         pimpl_->callbacks_.push_back(std::make_pair(new boost::regex(p.pathRegularExpression), p.callback));
@@ -220,8 +220,8 @@
 
       case OrthancPluginService_AnswerBuffer:
       {
-        const OrthancPluginAnswerBufferParams& p = 
-          *reinterpret_cast<const OrthancPluginAnswerBufferParams*>(parameters);
+        const _OrthancPluginAnswerBufferParams& p = 
+          *reinterpret_cast<const _OrthancPluginAnswerBufferParams*>(parameters);
 
         HttpOutput* translatedOutput = reinterpret_cast<HttpOutput*>(p.output);
         translatedOutput->AnswerBufferWithContentType(p.answer, p.answerSize, p.mimeType);