mirror of
https://github.com/celisej567/source-engine.git
synced 2026-01-04 18:09:53 +03:00
1
This commit is contained in:
35
tracker/AdminServer/HelpText.h
Normal file
35
tracker/AdminServer/HelpText.h
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user