diff OrthancServer/ServerIndex.h @ 186:f68c039b0571

preparing refactoring of ServerIndex
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 12 Nov 2012 15:29:07 +0100
parents baada606da3c
children 8e673a65564d
line wrap: on
line diff
--- a/OrthancServer/ServerIndex.h	Mon Nov 12 15:11:43 2012 +0100
+++ b/OrthancServer/ServerIndex.h	Mon Nov 12 15:29:07 2012 +0100
@@ -39,6 +39,8 @@
 #include "../Core/DicomFormat/DicomInstanceHasher.h"
 #include "ServerEnumerations.h"
 
+#include "DatabaseWrapper.h"
+
 
 namespace Orthanc
 {
@@ -54,6 +56,9 @@
     SQLite::Connection db_;
     boost::mutex mutex_;
 
+    std::auto_ptr<IServerIndexListener> listener2_;
+    std::auto_ptr<DatabaseWrapper> db2_;
+
     // DO NOT delete the following one, SQLite::Connection will do it automatically
     Internals::SignalDeletedLevelFunction* deletedLevels_;