comparison Framework/Plugins/IDatabaseBackendOutput.h @ 366:cd9521e04249 attach-custom-data

DatabaseBackendAdapterV4: added support for customData + revision when not already done
author Alain Mazy <am@osimis.io>
date Thu, 15 Sep 2022 18:12:34 +0200
parents 4e15eace9b90
children
comparison
equal deleted inserted replaced
365:7671fa7f099e 366:cd9521e04249
52 int32_t contentType, 52 int32_t contentType,
53 uint64_t uncompressedSize, 53 uint64_t uncompressedSize,
54 const std::string& uncompressedHash, 54 const std::string& uncompressedHash,
55 int32_t compressionType, 55 int32_t compressionType,
56 uint64_t compressedSize, 56 uint64_t compressedSize,
57 const std::string& compressedHash) = 0; 57 const std::string& compressedHash,
58 const std::string& customData) = 0;
58 59
59 virtual void SignalDeletedResource(const std::string& publicId, 60 virtual void SignalDeletedResource(const std::string& publicId,
60 OrthancPluginResourceType resourceType) = 0; 61 OrthancPluginResourceType resourceType) = 0;
61 62
62 virtual void SignalRemainingAncestor(const std::string& ancestorId, 63 virtual void SignalRemainingAncestor(const std::string& ancestorId,
66 int32_t contentType, 67 int32_t contentType,
67 uint64_t uncompressedSize, 68 uint64_t uncompressedSize,
68 const std::string& uncompressedHash, 69 const std::string& uncompressedHash,
69 int32_t compressionType, 70 int32_t compressionType,
70 uint64_t compressedSize, 71 uint64_t compressedSize,
71 const std::string& compressedHash) = 0; 72 const std::string& compressedHash,
73 const std::string& customData) = 0;
72 74
73 virtual void AnswerChange(int64_t seq, 75 virtual void AnswerChange(int64_t seq,
74 int32_t changeType, 76 int32_t changeType,
75 OrthancPluginResourceType resourceType, 77 OrthancPluginResourceType resourceType,
76 const std::string& publicId, 78 const std::string& publicId,