blob: e30e6b345efd632811998981d21a937f509a2f3b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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
|