Mercurial > hg > orthanc
comparison Plugins/Engine/OrthancPlugins.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 | d9c27f9f1a51 |
children | 1169528a9a5f |
comparison
equal
deleted
inserted
replaced
1176:f24e04838054 | 1177:5b2d8c280ac2 |
---|---|
51 | 51 |
52 void RegisterRestCallback(const void* parameters); | 52 void RegisterRestCallback(const void* parameters); |
53 | 53 |
54 void RegisterOnStoredInstanceCallback(const void* parameters); | 54 void RegisterOnStoredInstanceCallback(const void* parameters); |
55 | 55 |
56 void RegisterOnChangeCallback(const void* parameters); | |
57 | |
56 void AnswerBuffer(const void* parameters); | 58 void AnswerBuffer(const void* parameters); |
57 | 59 |
58 void Redirect(const void* parameters); | 60 void Redirect(const void* parameters); |
59 | 61 |
60 void CompressAndAnswerPngImage(const void* parameters); | 62 void CompressAndAnswerPngImage(const void* parameters); |
93 const std::string& postData); | 95 const std::string& postData); |
94 | 96 |
95 virtual bool InvokeService(_OrthancPluginService service, | 97 virtual bool InvokeService(_OrthancPluginService service, |
96 const void* parameters); | 98 const void* parameters); |
97 | 99 |
100 void SignalChange(ChangeType changeType, | |
101 ResourceType resourceType, | |
102 const std::string& publicId); | |
103 | |
98 void SignalStoredInstance(DicomInstanceToStore& instance, | 104 void SignalStoredInstance(DicomInstanceToStore& instance, |
99 const std::string& instanceId); | 105 const std::string& instanceId); |
100 | 106 |
101 void SetOrthancRestApi(OrthancRestApi& restApi); | 107 void SetOrthancRestApi(OrthancRestApi& restApi); |
102 | 108 |