]> git.lyx.org Git - features.git/commitdiff
I had added that already but revertes the patch when searching for the
authorAndré Pönitz <poenitz@gmx.net>
Wed, 14 Aug 2002 02:29:28 +0000 (02:29 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Wed, 14 Aug 2002 02:29:28 +0000 (02:29 +0000)
insettext read problem and then...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4960 a592a061-630c-0410-9148-cb99ea01b6c8

src/funcrequest.C [new file with mode: 0644]

diff --git a/src/funcrequest.C b/src/funcrequest.C
new file mode 100644 (file)
index 0000000..18b010d
--- /dev/null
@@ -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;
+}