comparison Framework/Plugins/IndexConnectionsPool.h @ 403:91124cc8a8c7 db-protobuf

database plugins are informed about the identifier tags
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 11 Apr 2023 11:10:19 +0200
parents 3d6886f3e5b3
children de6de66d70b2
comparison
equal deleted inserted replaced
402:82921a29349a 403:91124cc8a8c7
20 **/ 20 **/
21 21
22 22
23 #pragma once 23 #pragma once
24 24
25 #include "IdentifierTag.h"
25 #include "IndexBackend.h" 26 #include "IndexBackend.h"
26 27
27 #include <MultiThreading/SharedMessageQueue.h> 28 #include <MultiThreading/SharedMessageQueue.h>
28 29
29 #include <list> 30 #include <list>
51 OrthancPluginContext* GetContext() const 52 OrthancPluginContext* GetContext() const
52 { 53 {
53 return context_; 54 return context_;
54 } 55 }
55 56
56 void OpenConnections(); 57 void OpenConnections(bool hasIdentifierTags,
58 const std::list<IdentifierTag>& identifierTags);
57 59
58 void CloseConnections(); 60 void CloseConnections();
59 61
60 class Accessor : public boost::noncopyable 62 class Accessor : public boost::noncopyable
61 { 63 {