#endif
#include "commandtags.h"
-#include "kbmap.h"
+#include "kbsequence.h"
#include "insets/lyxinset.h"
#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".
ToggleOff = 8
};
///
+ 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);
void MenuOpen();
///
- void doImportLaTeX(bool);
-
- ///
- void doImportASCII(bool);
+ void doImport(string const &);
+ void doImportHelper(string const &, string const &, string const &,
+ bool func(BufferView *, string const &) );
///
void MenuInsertLyXFile(string const &);