diff options
| author | manuel <manuel@mausz.at> | 2013-03-18 15:27:26 +0100 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2013-03-18 15:27:26 +0100 |
| commit | 8c417384e29635c680745425abd630d5208cbaf2 (patch) | |
| tree | 107f4824bb697fdef08cc30fea532159eca4171d /CCommandLine.h | |
| parent | 7dd1948c98c3cf10fe142384f9756e197d9f5bff (diff) | |
| download | steamcmd-8c417384e29635c680745425abd630d5208cbaf2.tar.gz steamcmd-8c417384e29635c680745425abd630d5208cbaf2.tar.bz2 steamcmd-8c417384e29635c680745425abd630d5208cbaf2.zip | |
replace mod-param with generic "-config key=val"-param
Diffstat (limited to 'CCommandLine.h')
| -rw-r--r-- | CCommandLine.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/CCommandLine.h b/CCommandLine.h index 899a875..0d4817d 100644 --- a/CCommandLine.h +++ b/CCommandLine.h | |||
| @@ -13,11 +13,13 @@ public: | |||
| 13 | CCommandLine(int argc, char **argv); | 13 | CCommandLine(int argc, char **argv); |
| 14 | ~CCommandLine(); | 14 | ~CCommandLine(); |
| 15 | 15 | ||
| 16 | const char* ParmValues(const char *psz, unsigned int ix) const; | ||
| 16 | const char* ParmValue(const char *psz, const char *pDefaultVal = 0) const; | 17 | const char* ParmValue(const char *psz, const char *pDefaultVal = 0) const; |
| 17 | int ParmValue(const char *psz, int nDefaultVal) const; | 18 | int ParmValue(const char *psz, int nDefaultVal) const; |
| 18 | 19 | ||
| 19 | unsigned int ParmCount() const; | 20 | unsigned int ParmCount() const; |
| 20 | unsigned int FindParm(const char *psz) const; | 21 | unsigned int FindParmCount(const char *psz) const; |
| 22 | unsigned int FindParm(const char *psz, unsigned int ix = 0) const; | ||
| 21 | const char* GetParm(unsigned int nIndex) const; | 23 | const char* GetParm(unsigned int nIndex) const; |
| 22 | 24 | ||
| 23 | void AddParm(const char *psz); | 25 | void AddParm(const char *psz); |
