Mercurial > hg > orthanc
diff 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 |
line wrap: on
line diff
--- a/OrthancServer/IServerIndexListener.h Mon Sep 22 14:11:37 2014 +0200 +++ b/OrthancServer/IServerIndexListener.h Wed Sep 24 17:37:44 2014 +0200 @@ -47,9 +47,10 @@ virtual void SignalRemainingAncestor(ResourceType parentType, const std::string& publicId) = 0; - virtual void SignalResourceDeleted(ResourceType type, - const std::string& publicId) = 0; + virtual void SignalFileDeleted(const FileInfo& info) = 0; - virtual void SignalFileDeleted(const FileInfo& info) = 0; + virtual void SignalChange(ChangeType changeType, + ResourceType resourceType, + const std::string& publicId) = 0; }; }