diff OrthancServer/ServerJobs/OrthancPeerStoreJob.h @ 2664:a21b244efb37 jobs

serialization of DicomModalityStoreJob, OrthancPeerStoreJob and ResourceModificationJob
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 07 Jun 2018 21:37:40 +0200
parents 988936118354
children 7cfc8d266f41
line wrap: on
line diff
--- a/OrthancServer/ServerJobs/OrthancPeerStoreJob.h	Thu Jun 07 18:18:02 2018 +0200
+++ b/OrthancServer/ServerJobs/OrthancPeerStoreJob.h	Thu Jun 07 21:37:40 2018 +0200
@@ -57,6 +57,9 @@
     {
     }
 
+    OrthancPeerStoreJob(ServerContext& context,
+                        const Json::Value& serialize);
+
     void SetPeer(const WebServiceParameters& peer);
 
     const WebServiceParameters& GetPeer() const
@@ -72,5 +75,7 @@
     }
 
     virtual void GetPublicContent(Json::Value& value);
+
+    virtual bool Serialize(Json::Value& target);
   };
 }