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