comparison OrthancServer/Sources/Database/IDatabaseListener.h @ 4571:9224e107d613 db-changes

simplifying IDatabaseListener::SignalChange() as IDatabaseListener::SignalResourceDeleted()
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Mar 2021 16:49:34 +0100
parents d9473bd5ed43
children 5ee9a4f8a0f0
comparison
equal deleted inserted replaced
4570:648defffc8cc 4571:9224e107d613
31 **/ 31 **/
32 32
33 33
34 #pragma once 34 #pragma once
35 35
36 #include "../../OrthancFramework/Sources/FileStorage/FileInfo.h"
36 #include "../ServerEnumerations.h" 37 #include "../ServerEnumerations.h"
37 #include "../ServerIndexChange.h"
38 38
39 #include <string> 39 #include <string>
40 40
41 namespace Orthanc 41 namespace Orthanc
42 { 42 {
48 } 48 }
49 49
50 virtual void SignalRemainingAncestor(ResourceType parentType, 50 virtual void SignalRemainingAncestor(ResourceType parentType,
51 const std::string& publicId) = 0; 51 const std::string& publicId) = 0;
52 52
53 virtual void SignalFileDeleted(const FileInfo& info) = 0; 53 virtual void SignalAttachmentDeleted(const FileInfo& info) = 0;
54 54
55 virtual void SignalChange(const ServerIndexChange& change) = 0; 55 virtual void SignalResourceDeleted(ResourceType type,
56 const std::string& publicId) = 0;
56 }; 57 };
57 } 58 }