comparison OrthancServer/IServerIndexListener.h @ 1177:5b2d8c280ac2 db-changes

Plugins can monitor changes through callbacks
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 Sep 2014 17:37:44 +0200
parents badc14fee61f
children 1169528a9a5f
comparison
equal deleted inserted replaced
1176:f24e04838054 1177:5b2d8c280ac2
45 } 45 }
46 46
47 virtual void SignalRemainingAncestor(ResourceType parentType, 47 virtual void SignalRemainingAncestor(ResourceType parentType,
48 const std::string& publicId) = 0; 48 const std::string& publicId) = 0;
49 49
50 virtual void SignalResourceDeleted(ResourceType type, 50 virtual void SignalFileDeleted(const FileInfo& info) = 0;
51 const std::string& publicId) = 0;
52 51
53 virtual void SignalFileDeleted(const FileInfo& info) = 0; 52 virtual void SignalChange(ChangeType changeType,
53 ResourceType resourceType,
54 const std::string& publicId) = 0;
54 }; 55 };
55 } 56 }