Mercurial > hg > orthanc
diff OrthancServer/ServerIndex.h @ 226:8a26a8e85edf
refactoring to read files
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 30 Nov 2012 09:45:29 +0100 |
parents | 4eb0c7ce86c9 |
children | 8098448bd827 |
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h Thu Nov 29 22:28:05 2012 +0100 +++ b/OrthancServer/ServerIndex.h Fri Nov 30 09:45:29 2012 +0100 @@ -36,7 +36,6 @@ #include <boost/noncopyable.hpp> #include "../Core/SQLite/Connection.h" #include "../Core/DicomFormat/DicomMap.h" -#include "../Core/FileStorage.h" #include "../Core/DicomFormat/DicomInstanceHasher.h" #include "ServerEnumerations.h" @@ -45,6 +44,8 @@ namespace Orthanc { + class ServerContext; + namespace Internals { class ServerIndexListener; @@ -66,7 +67,7 @@ SeriesStatus GetSeriesStatus(int id); public: - ServerIndex(FileStorage& fileStorage, + ServerIndex(ServerContext& context, const std::string& dbPath); ~ServerIndex();