diff OrthancServer/ServerContext.h @ 1427:d710ea64f0fd

Custom setting of the local AET during C-Store SCU (both in Lua and in the REST API)
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 29 Jun 2015 12:42:54 +0200
parents b22ba8c5edbe
children 461e7554bff7
line wrap: on
line diff
--- a/OrthancServer/ServerContext.h	Fri Jun 26 16:30:51 2015 +0200
+++ b/OrthancServer/ServerContext.h	Mon Jun 29 12:42:54 2015 +0200
@@ -98,6 +98,7 @@
     const PluginsManager* pluginsManager_;
 
     SharedArchive  queryRetrieveArchive_;
+    std::string defaultLocalAet_;
 
   public:
     class DicomCacheLocker : public boost::noncopyable
@@ -231,5 +232,10 @@
     {
       return queryRetrieveArchive_;
     }
+
+    const std::string& GetDefaultLocalApplicationEntityTitle() const
+    {
+      return defaultLocalAet_;
+    }
   };
 }