diff OrthancServer/DicomProtocol/DicomServer.h @ 1675:131136aeeaa7 db-changes

improved exception handling in the main program
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 02 Oct 2015 13:57:54 +0200
parents d3ba98d6b6e9
children ee4367497d0d
line wrap: on
line diff
--- a/OrthancServer/DicomProtocol/DicomServer.h	Fri Oct 02 13:31:39 2015 +0200
+++ b/OrthancServer/DicomProtocol/DicomServer.h	Fri Oct 02 13:57:54 2015 +0200
@@ -41,6 +41,8 @@
 #include <boost/shared_ptr.hpp>
 #include <boost/noncopyable.hpp>
 
+struct T_ASC_Network;
+
 namespace Orthanc
 {
   class DicomServer : public boost::noncopyable
@@ -63,7 +65,8 @@
 
     BagOfRunnablesBySteps bagOfDispatchers_;  // This is used iff the server is threaded
 
-    static void ServerThread(DicomServer* server);
+    static void ServerThread(DicomServer* server,
+                             T_ASC_Network *net);
 
   public:
     DicomServer();