lyx_mirror/src/insets/insetbase.C
André Pönitz 2ad9bd1e7d more global cursor work
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8059 a592a061-630c-0410-9148-cb99ea01b6c8
2003-11-06 16:43:12 +00:00

52 lines
913 B
C

/**
* \file insetbase.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "insetbase.h"
#include "debug.h"
#include "dispatchresult.h"
DispatchResult
InsetBase::dispatch(FuncRequest const & f, idx_type & i, pos_type & p)
{
return priv_dispatch(f, i, p);
}
DispatchResult
InsetBase::dispatch(FuncRequest const & f)
{
idx_type i = 0;
pos_type p = 0;
return priv_dispatch(f, i, p);
}
DispatchResult
InsetBase::priv_dispatch(FuncRequest const &, idx_type &, pos_type &)
{
return DispatchResult(false);
}
void InsetBase::edit(BufferView *, bool)
{
lyxerr << "InsetBase: edit left/right" << std::endl;
}
void InsetBase::edit(BufferView * bv, int, int)
{
lyxerr << "InsetBase: edit xy" << std::endl;
edit(bv, true);
}