mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2024-11-13 00:24:29 +00:00
41 lines
1.3 KiB
C++
41 lines
1.3 KiB
C++
/*
|
|
BobToolz plugin for GtkRadiant
|
|
Copyright (C) 2001 Gordon Biggans
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Lesser General Public
|
|
License as published by the Free Software Foundation; either
|
|
version 2.1 of the License, or (at your option) any later version.
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Lesser General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Lesser General Public
|
|
License along with this library; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
*/
|
|
#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
|