diff OrthancServer/ServerContext.h @ 699:2929e17f8447

add attachments to resources
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 05 Feb 2014 17:49:30 +0100
parents dd1ce9a2844c
children 8cfc6119a5bd 537837f50fbb
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h	Wed Feb 05 17:20:43 2014 +0100
+++ b/OrthancServer/ServerContext.h	Wed Feb 05 17:49:30 2014 +0100
@@ -91,6 +91,11 @@
 
     void RemoveFile(const std::string& fileUuid);
 
+    bool AddAttachment(const std::string& resourceId,
+                       FileContentType attachmentType,
+                       const void* data,
+                       size_t size);
+
     StoreStatus Store(const char* dicomInstance,
                       size_t dicomSize,
                       const DicomMap& dicomSummary,