25 #ifndef PRESAGE_CALLBACK 26 #define PRESAGE_CALLBACK 32 typedef const char* (*_presage_callback_get_past_stream) (
void*);
33 typedef const char* (*_presage_callback_get_future_stream) (
void*);
102 void update(std::string str) {
for (
size_t sz = 0; sz < str.size(); sz++) {
update(str[sz]); } }
106 if (character ==
'\b'
void update(int character)
virtual ~PresageCallback()
void update(std::string str)
const std::string m_empty
virtual std::string get_past_stream() const =0
std::string get_past_stream() const
virtual std::string get_future_stream() const =0
std::string get_future_stream() const