diff OrthancServer/main.cpp @ 2018:300599489cab

USE_BOOST_LOCALE_BACKENDS
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 14 Jun 2016 15:51:00 +0200
parents bcc575732aef
children fabf7820d1f1
line wrap: on
line diff
--- a/OrthancServer/main.cpp	Mon Jun 13 15:49:10 2016 +0200
+++ b/OrthancServer/main.cpp	Tue Jun 14 15:51:00 2016 +0200
@@ -33,7 +33,6 @@
 #include "PrecompiledHeadersServer.h"
 #include "OrthancRestApi/OrthancRestApi.h"
 
-#include <fstream>
 #include <boost/algorithm/string/predicate.hpp>
 
 #include "../Core/Logging.h"
@@ -1113,6 +1112,8 @@
       {
         // Use the first argument that does not start with a "-" as
         // the configuration file
+
+        // TODO WHAT IS THE ENCODING?
         configurationFile = argv[i];
       }
     }
@@ -1141,6 +1142,7 @@
     }
     else if (boost::starts_with(argument, "--logdir="))
     {
+      // TODO WHAT IS THE ENCODING?
       std::string directory = argument.substr(9);
 
       try
@@ -1156,6 +1158,7 @@
     }
     else if (boost::starts_with(argument, "--logfile="))
     {
+      // TODO WHAT IS THE ENCODING?
       std::string file = argument.substr(10);
 
       try
@@ -1175,6 +1178,7 @@
     }
     else if (boost::starts_with(argument, "--config="))
     {
+      // TODO WHAT IS THE ENCODING?
       std::string configurationSample;
       GetFileResource(configurationSample, EmbeddedResources::CONFIGURATION_SAMPLE);