Mercurial > hg > orthanc
diff OrthancServer/ServerContext.h @ 771:537837f50fbb
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Apr 2014 14:15:26 +0200 |
parents | 2929e17f8447 |
children | aebf0071020e c9cdd53a6b31 |
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h Wed Apr 30 13:49:41 2014 +0200 +++ b/OrthancServer/ServerContext.h Wed Apr 30 14:15:26 2014 +0200 @@ -39,6 +39,7 @@ #include "../Core/Lua/LuaContext.h" #include "ServerIndex.h" #include "FromDcmtkBridge.h" +#include "DicomProtocol/ReusableDicomUserConnection.h" namespace Orthanc { @@ -70,6 +71,7 @@ DicomCacheProvider provider_; MemoryCache dicomCache_; + ReusableDicomUserConnection scu_; LuaContext lua_; @@ -150,5 +152,10 @@ { return accessor_.IsStoreMD5(); } + + ReusableDicomUserConnection& GetReusableDicomUserConnection() + { + return scu_; + } }; }