3 * Copyright 2002 the LyX Team
4 * Read the file COPYING
12 #include "commandtags.h"
18 * This class encapsulates a LyX action and its argument
19 * in order to pass it around easily.
23 /// just for putting thes things in std::container
25 /// actions without extra argument
26 explicit FuncRequest(kb_action act);
27 /// actions with extra argument
28 FuncRequest(kb_action act, string const & arg);
29 /// actions without extra argument
30 FuncRequest(BufferView * view, kb_action act);
31 /// actions with extra argument
32 FuncRequest(BufferView * view, kb_action act, string const & arg);
34 FuncRequest(BufferView * view, kb_action act, int ax, int ay, int aextra);
35 /// access to the view
36 BufferView * view() const;
37 /// access to the view
38 void setView(BufferView * view);
41 /// the BufferView we are talking to
43 public: // should be private, too...
46 /// the action's string argument
48 /// the x coordinate of a mouse press
50 /// the y coordinate of a mouse press
52 /// some extra information (like button number)
56 #endif // FUNCREQUEST_H