diff OrthancServer/main.cpp @ 526:e318e9d49815 dicom-rt

rt-struct
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 29 Aug 2013 17:33:33 +0200
parents c9a5d72f8481
children 8cfc6119a5bd
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Thu Aug 29 15:10:05 2013 +0200
+++ b/OrthancServer/main.cpp	Thu Aug 29 17:33:33 2013 +0200
@@ -30,7 +30,8 @@
  **/
 
 
-#include "OrthancRestApi.h"
+//#include "OrthancRestApi.h"
+#include "RadiotherapyRestApi.h"
 
 #include <fstream>
 #include <glog/logging.h>
@@ -411,7 +412,8 @@
       httpServer.RegisterHandler(new FilesystemHttpHandler("/app", ORTHANC_PATH "/OrthancExplorer"));
 #endif
 
-      httpServer.RegisterHandler(new OrthancRestApi(context));
+      //httpServer.RegisterHandler(new OrthancRestApi(context));
+      httpServer.RegisterHandler(new RadiotherapyRestApi(context));
 
       // GO !!!
       httpServer.Start();