21 lines
425 B
C++
21 lines
425 B
C++
#ifndef BRB_H
|
|
#define BRB_H
|
|
|
|
#include "tier2/tokenizer.h"
|
|
#include "tier3/lexer.h"
|
|
|
|
|
|
abstract_class IBGenerator
|
|
{
|
|
public:
|
|
virtual void AddExternSymbol( const char *szName ) = 0;
|
|
virtual void DefineFunction( const char *szName ) = 0;
|
|
virtual void Load( uint8_t uRegister, int iValue ) = 0;
|
|
virtual void Return() = 0;
|
|
virtual CUtlString GetAssembly() = 0;
|
|
};
|
|
|
|
#define B_GENERATOR_INTERFACE_VERSION "BGenerator001"
|
|
|
|
#endif
|