I had added that already but revertes the patch when searching for the

insettext read problem and then...


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4960 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2002-08-14 02:29:28 +00:00
parent 3b8a93570e
commit 37f920ba16

51
src/funcrequest.C Normal file
View File

@ -0,0 +1,51 @@
/**
* \file funcrequest.C
* Copyright 2002 the LyX Team
* Read the file COPYING
*
* \author André Pönitz
*/
#include "funcrequest.h"
FuncRequest::FuncRequest()
: view_(0), action(LFUN_UNKNOWN_ACTION)
{}
FuncRequest::FuncRequest(kb_action act)
: view_(0), action(act)
{}
FuncRequest::FuncRequest(kb_action act, string const & arg)
: view_(0), action(act), argument(arg)
{}
FuncRequest::FuncRequest(BufferView * view, kb_action act)
: view_(view), action(act)
{}
FuncRequest::FuncRequest(BufferView * view, kb_action act, string const & arg)
: view_(view), action(act), argument(arg)
{}
FuncRequest::FuncRequest
(BufferView * view, kb_action act, int ax, int ay, int aextra)
: view_(view), action(act), argument(), x(ax), y(ay), extra(aextra)
{}
BufferView * FuncRequest::view() const
{
return view_;
}
void FuncRequest::setView(BufferView * view)
{
view_ = view;
}