mirror of
https://github.com/alliedmodders/hl2sdk.git
synced 2025-01-12 03:32:11 +08:00
Update ICommandLine.
This commit is contained in:
parent
4a7344ebfc
commit
8959c93bbb
@ -25,6 +25,7 @@ public:
|
|||||||
|
|
||||||
// Check whether a particular parameter exists
|
// Check whether a particular parameter exists
|
||||||
virtual const char *CheckParm( const char *psz, const char **ppszValue = 0 ) const = 0;
|
virtual const char *CheckParm( const char *psz, const char **ppszValue = 0 ) const = 0;
|
||||||
|
virtual bool HasParm( const char *parm ) const = 0;
|
||||||
virtual void RemoveParm( const char *parm ) = 0;
|
virtual void RemoveParm( const char *parm ) = 0;
|
||||||
virtual void AppendParm( const char *pszParm, const char *pszValues ) = 0;
|
virtual void AppendParm( const char *pszParm, const char *pszValues ) = 0;
|
||||||
|
|
||||||
@ -40,6 +41,8 @@ public:
|
|||||||
|
|
||||||
// copies the string passwed
|
// copies the string passwed
|
||||||
virtual void SetParm( int nIndex, char const *pNewParm ) =0;
|
virtual void SetParm( int nIndex, char const *pNewParm ) =0;
|
||||||
|
|
||||||
|
virtual const char** GetParms() const = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user