summaryrefslogtreecommitdiff
path: root/common/config.cpp
AgeCommit message (Collapse)AuthorFilesLines
2010-11-28Command line arguments takes precedence over values from the configuration file.Atle Hellvik Havsø1-2/+5
Signed-off-by: Atle Hellvik Havsø <atle@havso.net>
2010-11-28Added a Config class. Example usage:Atle Hellvik Havsø1-0/+81
Config hei; hei.add_element("nick", n); hei.add_element("server", s); hei.add_element("port", p); hei.get_element("nick"); hei.get_element("server"); hei.get_element("port"); Signed-off-by: Atle Hellvik Havsø <atle@havso.net>