f19fbac013
finished and tested the INI parser and its API --HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40150
28 lines
591 B
C++
28 lines
591 B
C++
#ifndef _INCLUDE_SOURCEMOD_TEXTPARSERS_H_
|
|
#define _INCLUDE_SOURCEMOD_TEXTPARSERS_H_
|
|
|
|
#include "interfaces/ITextParsers.h"
|
|
|
|
using namespace SourceMod;
|
|
|
|
class CTextParsers : public ITextParsers
|
|
{
|
|
|
|
public:
|
|
CTextParsers();
|
|
public:
|
|
virtual bool ParseFile_INI(const char *file,
|
|
ITextListener_INI *ini_listener,
|
|
unsigned int *line,
|
|
unsigned int *col);
|
|
|
|
virtual bool ParseFile_SMC(const char *file,
|
|
ITextListener_SMC *smc_listener,
|
|
unsigned int *line,
|
|
unsigned int *col);
|
|
};
|
|
|
|
extern CTextParsers g_TextParse;
|
|
|
|
#endif //_INCLUDE_SOURCEMOD_TEXTPARSERS_H_
|