FACT++  1.0
void SetupConfiguration ( Configuration conf)

Definition at line 715 of file skypeclient.cc.

References Configuration::AddOptions(), Configuration::GetName(), and po_bool().

Referenced by main().

716 {
717  const string n = conf.GetName()+".log";
718 
719  po::options_description config("Skype client options");
720  config.add_options()
721  ("user", var<string>("www.fact-project.org"), "If a user is given only connection to a skype with this user are accepted.")
722  ("allow-raw", po_bool(false), "This allows sending raw messages to the SKype API (for debugging)")
723  ;
724 
725  conf.AddOptions(config);
726 }
void AddOptions(const po::options_description &opt, bool visible=true)
Definition: Configuration.h:92
po::typed_value< bool > * po_bool(bool def=false)
const std::string & GetName() const

+ Here is the call graph for this function:

+ Here is the caller graph for this function: