From: André Pönitz Date: Wed, 14 Aug 2002 02:29:28 +0000 (+0000) Subject: I had added that already but revertes the patch when searching for the X-Git-Tag: 1.6.10~18585 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=37f920ba16022555bdc43fab6dbfb1f13c459876;p=features.git 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 --- diff --git a/src/funcrequest.C b/src/funcrequest.C new file mode 100644 index 0000000000..18b010d8b4 --- /dev/null +++ b/src/funcrequest.C @@ -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; +}