1 #ifndef CONFIGURATION_H_
2 #define CONFIGURATION_H_
10 #include <boost/program_options.hpp>
12 namespace remote
{ namespace diku_mcs
{
14 namespace po
= boost::program_options
;
16 /** Configuration handling
17 * This class reads options from a configuration file
18 * and from the command prompt.
23 /** Read options from command line and configuration file
24 * @param argc Number of command line arguments
25 * @param argv string array of command line arguments
27 static void read(int argc
, char **argv
);
29 /** Print usage help for option group
30 * @param desc Option group for which to print help.
32 static void printHelp(po::options_description
& desc
);
34 /** Option variable map keyed by option name */
35 static po::variables_map vm
;
40 #endif /* CONFIGURATION_H_ */