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
|
|
|
|
|
|
|
|
|
|
2003-10-29 10:47:21 +00:00
|
|
|
|
DispatchResult
|
2003-10-17 18:01:15 +00:00
|
|
|
|
InsetBase::dispatch(FuncRequest const & f, idx_type & i, pos_type & p)
|
2003-02-18 11:47:16 +00:00
|
|
|
|
{
|
2003-10-17 18:01:15 +00:00
|
|
|
|
return priv_dispatch(f, i, p);
|
2003-02-18 11:47:16 +00:00
|
|
|
|
}
|
|
|
|
|
|
2003-10-21 16:15:14 +00:00
|
|
|
|
|
2003-10-29 10:47:21 +00:00
|
|
|
|
DispatchResult
|
2003-10-17 18:01:15 +00:00
|
|
|
|
InsetBase::dispatch(FuncRequest const & f)
|
|
|
|
|
{
|
|
|
|
|
idx_type i = 0;
|
|
|
|
|
pos_type p = 0;
|
|
|
|
|
return priv_dispatch(f, i, p);
|
|
|
|
|
}
|
2003-02-18 11:47:16 +00:00
|
|
|
|
|
2003-10-17 18:01:15 +00:00
|
|
|
|
|
2003-10-29 10:47:21 +00:00
|
|
|
|
DispatchResult
|
2003-10-17 18:01:15 +00:00
|
|
|
|
InsetBase::priv_dispatch(FuncRequest const &, idx_type &, pos_type &)
|
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void InsetBase::edit(BufferView *, bool)
|
2003-11-06 16:43:12 +00:00
|
|
|
|
{
|
|
|
|
|
lyxerr << "InsetBase: edit left/right" << std::endl;
|
|
|
|
|
}
|
2003-11-04 12:36:59 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void InsetBase::edit(BufferView * bv, int, int)
|
|
|
|
|
{
|
2003-11-06 16:43:12 +00:00
|
|
|
|
lyxerr << "InsetBase: edit xy" << std::endl;
|
2003-11-04 12:36:59 +00:00
|
|
|
|
edit(bv, true);
|
|
|
|
|
}
|