lyx_mirror/src/insets/insetbase.C

52 lines
913 B
C++
Raw Normal View History

/**
* \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
*
* 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);
}