comparison OrthancServer/Sources/Database/IDatabaseWrapper.h @ 4514:5b929e6b3c36

removal of "dicom-as-json" attachments
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 16 Feb 2021 12:18:41 +0100
parents d9473bd5ed43
children 2a0f8031fb93
comparison
equal deleted inserted replaced
4513:1f455b86b054 4514:5b929e6b3c36
41 #include "../ExportedResource.h" 41 #include "../ExportedResource.h"
42 #include "IDatabaseListener.h" 42 #include "IDatabaseListener.h"
43 43
44 #include <list> 44 #include <list>
45 #include <boost/noncopyable.hpp> 45 #include <boost/noncopyable.hpp>
46 #include <set>
46 47
47 namespace Orthanc 48 namespace Orthanc
48 { 49 {
49 class DatabaseConstraint; 50 class DatabaseConstraint;
50 class ResourcesContent; 51 class ResourcesContent;
151 152
152 virtual bool IsExistingResource(int64_t internalId) = 0; 153 virtual bool IsExistingResource(int64_t internalId) = 0;
153 154
154 virtual bool IsProtectedPatient(int64_t internalId) = 0; 155 virtual bool IsProtectedPatient(int64_t internalId) = 0;
155 156
156 virtual void ListAvailableAttachments(std::list<FileContentType>& target, 157 virtual void ListAvailableAttachments(std::set<FileContentType>& target,
157 int64_t id) = 0; 158 int64_t id) = 0;
158 159
159 virtual void LogChange(int64_t internalId, 160 virtual void LogChange(int64_t internalId,
160 const ServerIndexChange& change) = 0; 161 const ServerIndexChange& change) = 0;
161 162