Initial commit of cliparser.
authorSebastian Goth <seezer@roath.org>
Sun, 13 Jul 2008 21:22:04 +0000 (23:22 +0200)
committerSebastian Goth <seezer@roath.org>
Wed, 16 Jul 2008 22:57:29 +0000 (00:57 +0200)
commit81c2e2cf2c12eb6839994f95f47698e5252fc91c
tree3cb9487e9d3263b4c956d989abeaa4476b67f248
parentd42123b2f56292e10bf4ad4a710950149af824d0
Initial commit of cliparser.
Supports options and switches.
Shortnames, defaultvalues and helptexts can be added optionally.
Accessmethod CliParser::value(QString key) always returns a QVariant.
For switches, if no default is given, it returns "false", for options it returns "QVariant()".
src/common/CMakeLists.txt
src/common/cliparser.cpp [new file with mode: 0644]
src/common/cliparser.h [new file with mode: 0644]