Mercurial > hg > orthanc
comparison Plugins/Samples/Common/OrthancPluginCppWrapper.h @ 3668:adb6d8b49283 storage-commitment
integration mainline->storage-commitment
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 13 Feb 2020 18:44:53 +0100 |
parents | 85acfcc15829 c8d8c3b5f47c |
children | daa1bc6700bf |
comparison
equal
deleted
inserted
replaced
3666:6e5b3ae8825c | 3668:adb6d8b49283 |
---|---|
782 int priority); | 782 int priority); |
783 | 783 |
784 static void SubmitAndWait(Json::Value& result, | 784 static void SubmitAndWait(Json::Value& result, |
785 OrthancJob* job /* takes ownership */, | 785 OrthancJob* job /* takes ownership */, |
786 int priority); | 786 int priority); |
787 | |
788 // Submit a job from a POST on the REST API with the same | |
789 // conventions as in the Orthanc core (according to the | |
790 // "Synchronous" and "Priority" options) | |
791 static void SubmitFromRestApiPost(OrthancPluginRestOutput* output, | |
792 const Json::Value& body, | |
793 OrthancJob* job); | |
787 }; | 794 }; |
788 #endif | 795 #endif |
789 | 796 |
790 | 797 |
791 #if HAS_ORTHANC_PLUGIN_METRICS == 1 | 798 #if HAS_ORTHANC_PLUGIN_METRICS == 1 |