comparison 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
comparison
equal deleted inserted replaced
523:68451838fb2c 526:e318e9d49815
28 * You should have received a copy of the GNU General Public License 28 * You should have received a copy of the GNU General Public License
29 * along with this program. If not, see <http://www.gnu.org/licenses/>. 29 * along with this program. If not, see <http://www.gnu.org/licenses/>.
30 **/ 30 **/
31 31
32 32
33 #include "OrthancRestApi.h" 33 //#include "OrthancRestApi.h"
34 #include "RadiotherapyRestApi.h"
34 35
35 #include <fstream> 36 #include <fstream>
36 #include <glog/logging.h> 37 #include <glog/logging.h>
37 #include <boost/algorithm/string/predicate.hpp> 38 #include <boost/algorithm/string/predicate.hpp>
38 39
409 httpServer.RegisterHandler(new EmbeddedResourceHttpHandler("/app", EmbeddedResources::ORTHANC_EXPLORER)); 410 httpServer.RegisterHandler(new EmbeddedResourceHttpHandler("/app", EmbeddedResources::ORTHANC_EXPLORER));
410 #else 411 #else
411 httpServer.RegisterHandler(new FilesystemHttpHandler("/app", ORTHANC_PATH "/OrthancExplorer")); 412 httpServer.RegisterHandler(new FilesystemHttpHandler("/app", ORTHANC_PATH "/OrthancExplorer"));
412 #endif 413 #endif
413 414
414 httpServer.RegisterHandler(new OrthancRestApi(context)); 415 //httpServer.RegisterHandler(new OrthancRestApi(context));
416 httpServer.RegisterHandler(new RadiotherapyRestApi(context));
415 417
416 // GO !!! 418 // GO !!!
417 httpServer.Start(); 419 httpServer.Start();
418 dicomServer.Start(); 420 dicomServer.Start();
419 421