prime/include/Kyoto/Text/CInstruction.hpp
Luke Street 4f772afca4 Delete CInstruction, fix --no-static-libs build, fix all_source build
Former-commit-id: f02833c84e243aa729c69dfd32dc56ed41f61004
2023-01-19 00:31:27 -08:00

23 lines
544 B
C++

#ifndef _CINSTRUCTION
#define _CINSTRUCTION
#include "types.h"
#include "Kyoto/CToken.hpp"
#include "rstl/vector.hpp"
class CFontRenderState;
class CTextRenderBuffer;
class CInstruction {
public:
virtual ~CInstruction() {}
virtual void Invoke(CFontRenderState& state, CTextRenderBuffer* buf) const = 0;
virtual void PageInvoke(CFontRenderState& state, CTextRenderBuffer* buf) const {}
virtual void GetAssets(rstl::vector< CToken >& assetsOut) const {}
virtual uint GetAssetCount() const { return 0; }
};
#endif // _CINSTRUCTION