Mercurial > hg > orthanc
comparison OrthancServer/DatabaseWrapper.h @ 1432:0ac74fa21db8
rename IServerIndexListener as IDatabaseListener
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Jun 2015 12:51:29 +0200 |
parents | 8cd5784a6d80 |
children | 0586ed8897f1 |
comparison
equal
deleted
inserted
replaced
1431:3e53edcd0120 | 1432:0ac74fa21db8 |
---|---|
50 * exclusion MUST be implemented at a higher level. | 50 * exclusion MUST be implemented at a higher level. |
51 **/ | 51 **/ |
52 class DatabaseWrapper : public IDatabaseWrapper | 52 class DatabaseWrapper : public IDatabaseWrapper |
53 { | 53 { |
54 private: | 54 private: |
55 IServerIndexListener* listener_; | 55 IDatabaseListener* listener_; |
56 SQLite::Connection db_; | 56 SQLite::Connection db_; |
57 Internals::SignalRemainingAncestor* signalRemainingAncestor_; | 57 Internals::SignalRemainingAncestor* signalRemainingAncestor_; |
58 | 58 |
59 void Open(); | 59 void Open(); |
60 | 60 |
73 public: | 73 public: |
74 DatabaseWrapper(const std::string& path); | 74 DatabaseWrapper(const std::string& path); |
75 | 75 |
76 DatabaseWrapper(); | 76 DatabaseWrapper(); |
77 | 77 |
78 virtual void SetListener(IServerIndexListener& listener); | 78 virtual void SetListener(IDatabaseListener& listener); |
79 | 79 |
80 virtual void SetGlobalProperty(GlobalProperty property, | 80 virtual void SetGlobalProperty(GlobalProperty property, |
81 const std::string& value); | 81 const std::string& value); |
82 | 82 |
83 virtual bool LookupGlobalProperty(std::string& target, | 83 virtual bool LookupGlobalProperty(std::string& target, |