From 8c417384e29635c680745425abd630d5208cbaf2 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 18 Mar 2013 15:27:26 +0100 Subject: replace mod-param with generic "-config key=val"-param --- CCommandLine.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'CCommandLine.h') diff --git a/CCommandLine.h b/CCommandLine.h index 899a875..0d4817d 100644 --- a/CCommandLine.h +++ b/CCommandLine.h @@ -13,11 +13,13 @@ public: CCommandLine(int argc, char **argv); ~CCommandLine(); + const char* ParmValues(const char *psz, unsigned int ix) const; const char* ParmValue(const char *psz, const char *pDefaultVal = 0) const; int ParmValue(const char *psz, int nDefaultVal) const; unsigned int ParmCount() const; - unsigned int FindParm(const char *psz) const; + unsigned int FindParmCount(const char *psz) const; + unsigned int FindParm(const char *psz, unsigned int ix = 0) const; const char* GetParm(unsigned int nIndex) const; void AddParm(const char *psz); -- cgit v1.2.3