#include "LString.h"
class LyXView;
+class auto_mem_buffer;
/** This class encapsulates all the LyX command operations.
This is the class of the LyX's "high level event handler".
explicit
LyXFunc(LyXView *);
- /// LyX distpatcher, executes lyx actions.
+ /// LyX dispatcher, executes lyx actions.
string Dispatch(int action, char const * arg = 0);
/// The same but uses the name of a lyx command.
string Dispatch(string const & cmd);
+ /// Same again but for xtl buffers. Still looking for better idea.
+ bool Dispatch(int action, auto_mem_buffer &);
+
/// A keyboard event is processed to execute a lyx action.
int processKeyEvent(XEvent * ev);