Mercurial > hg > orthanc
comparison OrthancServer/Sources/IServerListener.h @ 4921:309fb4f02704
fix signature of OrthancPluginIncomingCStoreInstanceFilter
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 23 Feb 2022 11:09:43 +0100 |
parents | 6eff25f70121 |
children | 0ea402b4d901 |
comparison
equal
deleted
inserted
replaced
4920:ce64d8995a41 | 4921:309fb4f02704 |
---|---|
43 virtual void SignalChange(const ServerIndexChange& change) = 0; | 43 virtual void SignalChange(const ServerIndexChange& change) = 0; |
44 | 44 |
45 virtual bool FilterIncomingInstance(const DicomInstanceToStore& instance, | 45 virtual bool FilterIncomingInstance(const DicomInstanceToStore& instance, |
46 const Json::Value& simplified) = 0; | 46 const Json::Value& simplified) = 0; |
47 | 47 |
48 virtual uint16_t FilterIncomingCStoreInstance(const DicomInstanceToStore& instance, | 48 /** |
49 const Json::Value& simplified) = 0; | 49 * Returns "true" iff some DICOM instance received by the DICOM |
50 | 50 * SCP is to be accepted. If the instance is discarded, |
51 * "dimseStatus" must contain the DIMSE status that is sent back | |
52 * to the DICOM SCU. | |
53 **/ | |
54 virtual bool FilterIncomingCStoreInstance(uint16_t& dimseStatus, | |
55 const DicomInstanceToStore& instance, | |
56 const Json::Value& simplified) = 0; | |
51 }; | 57 }; |
52 } | 58 } |