diff Platforms/Generic/WebServiceGetCommand.h @ 246:5470b15f7cf2 am

first usage of boost::signals2
author am@osimis.io
date Tue, 26 Jun 2018 13:55:17 +0200
parents 5412adf19980
children 3d523c9a8f0d
line wrap: on
line diff
--- a/Platforms/Generic/WebServiceGetCommand.h	Wed Jun 20 15:59:52 2018 +0200
+++ b/Platforms/Generic/WebServiceGetCommand.h	Tue Jun 26 13:55:17 2018 +0200
@@ -28,6 +28,7 @@
 #include <Core/WebServiceParameters.h>
 
 #include <memory>
+#include <boost/signals2.hpp>
 
 namespace OrthancStone
 {
@@ -50,5 +51,11 @@
     virtual void Execute();
 
     virtual void Commit();
+
+    boost::signals2::signal<void (const std::string& uri,
+                                  const void* answer,
+                                  size_t answerSize,
+                                  Orthanc::IDynamicObject* payload)> SignalSuccess;
+
   };
 }