mirror of
https://github.com/UberGames/GtkRadiant.git
synced 2024-11-26 13:51:38 +00:00
9998050654
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/branches/ZeroRadiant@183 8a3a26a2-13c4-0310-b231-cf6edde360e5
23 lines
566 B
C++
23 lines
566 B
C++
#ifndef _ISCRIPTPARSER_H_
|
|
#define _ISCRIPTPARSER_H_
|
|
|
|
class IScriptParser {
|
|
public:
|
|
virtual ~IScriptParser() {};
|
|
|
|
virtual const char* GetToken ( bool ) = 0;
|
|
virtual char* GetBufferCopy ( void ) = 0;
|
|
virtual int GetTokenOffset ( void ) = 0;
|
|
|
|
virtual void SkipBracedSection ( void ) = 0;
|
|
virtual void SkipRestOfLine ( void ) = 0;
|
|
virtual void UndoGetToken ( void ) = 0;
|
|
virtual void ResetParseSession ( void ) = 0;
|
|
|
|
virtual void LoadScript ( const char* ) = 0;
|
|
virtual void SetScript ( char* ) = 0;
|
|
|
|
virtual void AddBreakChar( char ) = 0;
|
|
};
|
|
|
|
#endif
|