You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
241 B
C++
18 lines
241 B
C++
9 years ago
|
#pragma once
|
||
|
|
||
|
#include <memory>
|
||
|
|
||
|
#include "token.hpp"
|
||
|
|
||
|
namespace mstch {
|
||
|
|
||
|
class render_context;
|
||
|
|
||
|
class render_state {
|
||
|
public:
|
||
|
virtual ~render_state() {}
|
||
|
virtual std::string render(render_context& context, const token& token) = 0;
|
||
|
};
|
||
|
|
||
|
}
|