Mercurial > hg > orthanc
comparison OrthancFramework/Sources/JobsEngine/Operations/LogJobOperation.h @ 4202:2007ab69ac16
moving ORTHANC_FORCE_INLINE and ORTHANC_OVERRIDE from Enumerations.h to Compatibility.h
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 17 Sep 2020 08:35:11 +0200 |
parents | bf7b9edf6b81 |
children | b30a8de92ad9 |
comparison
equal
deleted
inserted
replaced
4201:2d5209153b32 | 4202:2007ab69ac16 |
---|---|
22 | 22 |
23 #pragma once | 23 #pragma once |
24 | 24 |
25 #include "IJobOperation.h" | 25 #include "IJobOperation.h" |
26 | 26 |
27 #include "../../Compatibility.h" // For ORTHANC_OVERRIDE | |
28 | |
27 namespace Orthanc | 29 namespace Orthanc |
28 { | 30 { |
29 class ORTHANC_PUBLIC LogJobOperation : public IJobOperation | 31 class ORTHANC_PUBLIC LogJobOperation : public IJobOperation |
30 { | 32 { |
31 public: | 33 public: |
32 virtual void Apply(JobOperationValues& outputs, | 34 virtual void Apply(JobOperationValues& outputs, |
33 const JobOperationValue& input); | 35 const JobOperationValue& input) ORTHANC_OVERRIDE; |
34 | 36 |
35 virtual void Serialize(Json::Value& result) const | 37 virtual void Serialize(Json::Value& result) const ORTHANC_OVERRIDE |
36 { | 38 { |
37 result = Json::objectValue; | 39 result = Json::objectValue; |
38 result["Type"] = "Log"; | 40 result["Type"] = "Log"; |
39 } | 41 } |
40 }; | 42 }; |