presage
0.9.2~beta
|
Public Member Functions | |
PresageDemoCallback (std::stringstream &buffer) | |
std::string | get_past_stream () const |
std::string | get_future_stream () const |
Public Member Functions inherited from PresageCallback | |
virtual | ~PresageCallback () |
Private Attributes | |
std::stringstream & | m_buffer |
const std::string | empty |
Additional Inherited Members | |
Protected Member Functions inherited from PresageCallback | |
PresageCallback () | |
Callback object for presage demo application.
We need to provide a callback class to allow presage to query the application's text buffer. In a real world application, this would fetch the text from whatever object stores the text composition (i.e. a GUI widget in a graphical interface)
For the purpose of this demonstration program, the callback class will retrieve contextual data from a standard stringstream object.
Definition at line 86 of file presageDemo.cpp.
|
inline |
Definition at line 88 of file presageDemo.cpp.
|
inlinevirtual |
|
inlinevirtual |
|
private |
Definition at line 95 of file presageDemo.cpp.
Referenced by get_future_stream().
|
private |
Definition at line 94 of file presageDemo.cpp.
Referenced by get_past_stream().