Mercurial > hg > orthanc
comparison PalantirServer/main.cpp @ 2:67a6978503b7
fixing Windows build
author | Jodogne@Laptop |
---|---|
date | Thu, 19 Jul 2012 22:33:27 +0200 |
parents | 3959d33612cc |
children | c38716a8a146 |
comparison
equal
deleted
inserted
replaced
0:3959d33612cc | 2:67a6978503b7 |
---|---|
113 { | 113 { |
114 // DICOM server | 114 // DICOM server |
115 DicomServer dicomServer; | 115 DicomServer dicomServer; |
116 dicomServer.SetCalledApplicationEntityTitleCheck(true); | 116 dicomServer.SetCalledApplicationEntityTitleCheck(true); |
117 dicomServer.SetStoreRequestHandlerFactory(storeScp); | 117 dicomServer.SetStoreRequestHandlerFactory(storeScp); |
118 dicomServer.SetPort(GetGlobalIntegerParameter("DicomPort", 4242)); | 118 dicomServer.SetPortNumber(GetGlobalIntegerParameter("DicomPort", 4242)); |
119 dicomServer.SetApplicationEntityTitle(GetGlobalStringParameter("DicomAet", "PALANTIR")); | 119 dicomServer.SetApplicationEntityTitle(GetGlobalStringParameter("DicomAet", "PALANTIR")); |
120 | 120 |
121 // HTTP server | 121 // HTTP server |
122 MongooseServer httpServer; | 122 MongooseServer httpServer; |
123 httpServer.SetPort(GetGlobalIntegerParameter("HttpPort", 8000)); | 123 httpServer.SetPort(GetGlobalIntegerParameter("HttpPort", 8000)); |