2003-08-19 10:04:35 +00:00
|
|
|
|
/**
|
|
|
|
|
* \file insetbase.C
|
|
|
|
|
* This file is part of LyX, the document processor.
|
|
|
|
|
* Licence details can be found in the file COPYING.
|
|
|
|
|
*
|
|
|
|
|
* \author Andr<EFBFBD> P<EFBFBD>nitz
|
|
|
|
|
*
|
2003-08-23 00:17:00 +00:00
|
|
|
|
* Full author contact details are available in file CREDITS.
|
2003-08-19 10:04:35 +00:00
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#include <config.h>
|
2003-09-05 09:01:27 +00:00
|
|
|
|
|
2003-02-18 11:47:16 +00:00
|
|
|
|
#include "insetbase.h"
|
2003-11-06 16:43:12 +00:00
|
|
|
|
#include "debug.h"
|
2003-10-29 10:47:21 +00:00
|
|
|
|
#include "dispatchresult.h"
|
2003-02-18 11:47:16 +00:00
|
|
|
|
|
|
|
|
|
|
2004-01-20 14:25:24 +00:00
|
|
|
|
DispatchResult InsetBase::dispatch(LCursor & cur, FuncRequest const & cmd)
|
2003-10-17 18:01:15 +00:00
|
|
|
|
{
|
2004-01-20 14:25:24 +00:00
|
|
|
|
return priv_dispatch(cur, cmd);
|
2003-10-17 18:01:15 +00:00
|
|
|
|
}
|
2003-02-18 11:47:16 +00:00
|
|
|
|
|
2003-10-17 18:01:15 +00:00
|
|
|
|
|
2004-01-20 14:25:24 +00:00
|
|
|
|
DispatchResult InsetBase::priv_dispatch(LCursor &, FuncRequest const & cmd)
|
2003-02-18 11:47:16 +00:00
|
|
|
|
{
|
2003-11-01 15:45:19 +00:00
|
|
|
|
return DispatchResult(false);
|
2003-02-18 11:47:16 +00:00
|
|
|
|
}
|
2003-11-04 12:36:59 +00:00
|
|
|
|
|
|
|
|
|
|
2004-01-20 14:25:24 +00:00
|
|
|
|
void InsetBase::edit(LCursor &, bool)
|
2003-11-06 16:43:12 +00:00
|
|
|
|
{
|
|
|
|
|
lyxerr << "InsetBase: edit left/right" << std::endl;
|
|
|
|
|
}
|
2003-11-04 12:36:59 +00:00
|
|
|
|
|
|
|
|
|
|
2004-01-20 14:25:24 +00:00
|
|
|
|
void InsetBase::edit(LCursor & cur, int, int)
|
2003-11-04 12:36:59 +00:00
|
|
|
|
{
|
2003-11-06 16:43:12 +00:00
|
|
|
|
lyxerr << "InsetBase: edit xy" << std::endl;
|
2004-01-20 14:25:24 +00:00
|
|
|
|
edit(cur, true);
|
2003-11-04 12:36:59 +00:00
|
|
|
|
}
|