lyx_mirror/src/insets/insetbase.C

48 lines
793 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 "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)
{}
void InsetBase::edit(BufferView * bv, int, int)
{
edit(bv, true);
}