Mercurial > hg > orthanc
diff OrthancServer/ServerIndex.h @ 1432:0ac74fa21db8
rename IServerIndexListener as IDatabaseListener
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 30 Jun 2015 12:51:29 +0200 |
parents | 111e23bb4904 |
children | c0bdc47165ef |
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h Tue Jun 30 11:54:16 2015 +0200 +++ b/OrthancServer/ServerIndex.h Tue Jun 30 12:51:29 2015 +0200 @@ -47,11 +47,6 @@ { class ServerContext; - namespace Internals - { - class ServerIndexListener; - } - class ServerIndex : public boost::noncopyable { public: @@ -59,6 +54,7 @@ typedef std::map< std::pair<ResourceType, MetadataType>, std::string> MetadataMap; private: + class Listener; class Transaction; class UnstableResourcePayload; @@ -67,7 +63,7 @@ boost::thread flushThread_; boost::thread unstableResourcesMonitorThread_; - std::auto_ptr<Internals::ServerIndexListener> listener_; + std::auto_ptr<Listener> listener_; IDatabaseWrapper& db_; LeastRecentlyUsedIndex<int64_t, UnstableResourcePayload> unstableResources_;