comparison OrthancServer/main.cpp @ 229:f2349bab5fe7

rename
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 30 Nov 2012 11:00:40 +0100
parents 1af3bc092db8
children 6d9be2b470b4
comparison
equal deleted inserted replaced
228:1af3bc092db8 229:f2349bab5fe7
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 "OrthancRestApi2.h" 33 #include "OrthancRestApi.h"
34 34
35 #include <fstream> 35 #include <fstream>
36 #include <glog/logging.h> 36 #include <glog/logging.h>
37 #include <boost/algorithm/string/predicate.hpp> 37 #include <boost/algorithm/string/predicate.hpp>
38 38
248 httpServer.RegisterHandler(new EmbeddedResourceHttpHandler("/app", EmbeddedResources::ORTHANC_EXPLORER)); 248 httpServer.RegisterHandler(new EmbeddedResourceHttpHandler("/app", EmbeddedResources::ORTHANC_EXPLORER));
249 #else 249 #else
250 httpServer.RegisterHandler(new FilesystemHttpHandler("/app", ORTHANC_PATH "/OrthancExplorer")); 250 httpServer.RegisterHandler(new FilesystemHttpHandler("/app", ORTHANC_PATH "/OrthancExplorer"));
251 #endif 251 #endif
252 252
253 httpServer.RegisterHandler(new OrthancRestApi2(context)); 253 httpServer.RegisterHandler(new OrthancRestApi(context));
254 254
255 // GO !!! 255 // GO !!!
256 httpServer.Start(); 256 httpServer.Start();
257 dicomServer.Start(); 257 dicomServer.Start();
258 258