comparison Applications/Wasm/StartupParametersBuilder.h @ 603:70992b38aa8a

new routable logging system in STDIO mode + flag support (with no value) in StartupParametersBuilder + 80 col indent
author Benjamin Golinvaux <bgo@osimis.io>
date Mon, 29 Apr 2019 15:09:48 +0200
parents b70e9be013e4
children 2d8ab34c8c91
comparison
equal deleted inserted replaced
602:03c4b998fcd0 603:70992b38aa8a
41 StartupParameters startupParameters_; 41 StartupParameters startupParameters_;
42 42
43 public: 43 public:
44 44
45 void Clear(); 45 void Clear();
46 // Please note that if a parameter is a flag-style one, the value that
47 // is passed should be an empty string
46 void SetStartupParameter(const char* name, const char* value); 48 void SetStartupParameter(const char* name, const char* value);
47 void GetStartupParameters(boost::program_options::variables_map& parameters_, const boost::program_options::options_description& options); 49 void GetStartupParameters(
50 boost::program_options::variables_map& parameters_,
51 const boost::program_options::options_description& options);
48 }; 52 };
49 53
50 } 54 }