diff options
Diffstat (limited to 'tracker/AdminServer/HelpText.h')
| -rw-r--r-- | tracker/AdminServer/HelpText.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/tracker/AdminServer/HelpText.h b/tracker/AdminServer/HelpText.h new file mode 100644 index 0000000..e30e6b3 --- /dev/null +++ b/tracker/AdminServer/HelpText.h @@ -0,0 +1,35 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +// $NoKeywords: $ +//============================================================================= + +#ifndef HELPTEXT_H +#define HELPTEXT_H +#ifdef _WIN32 +#pragma once +#endif + +#include <VGUI_KeyValues.h> + + +//----------------------------------------------------------------------------- +// Purpose: parses in a text file and returns help strings about key words +//----------------------------------------------------------------------------- +class CHelpText +{ +public: + CHelpText(const char *mod); + ~CHelpText(); + + void LoadHelpFile(const char *filename); + const char *GetHelp(const char *keyname); + +private: + + vgui::KeyValues *m_pHelpData; + +}; + +#endif // HELPTEXT_H |