]> git.lyx.org Git - lyx.git/blob - src/insets/insetbase.C
Part of IU.
[lyx.git] / src / insets / insetbase.C
1 /**
2  * \file insetbase.C
3  * This file is part of LyX, the document processor.
4  * Licence details can be found in the file COPYING.
5  *
6  * \author André Pönitz
7  *
8  * Full author contact details are available in file CREDITS.
9  */
10
11 #include <config.h>
12
13 #include "insetbase.h"
14 #include "debug.h"
15 #include "dispatchresult.h"
16
17
18 DispatchResult InsetBase::dispatch(LCursor & cur, FuncRequest const & cmd)
19 {
20         return priv_dispatch(cur, cmd);
21 }
22
23
24 DispatchResult InsetBase::priv_dispatch(LCursor &, FuncRequest const & cmd)
25 {
26         return DispatchResult(false);
27 }
28
29
30 void InsetBase::edit(LCursor &, bool)
31 {
32         lyxerr << "InsetBase: edit left/right" << std::endl;
33 }
34
35
36 void InsetBase::edit(LCursor & cur, int, int)
37 {
38         lyxerr << "InsetBase: edit xy" << std::endl;
39         edit(cur, true);
40 }