]> git.lyx.org Git - features.git/blob - src/funcrequest.h
the FuncRequest changes
[features.git] / src / funcrequest.h
1 #ifndef FUNCREQUEST_H
2 #define FUNCREQUEST_H
3
4 #include "commandtags.h"
5 #include "LString.h"
6
7 /** This class encapsulates LyX action and arguemnt
8  *  in order to passs it around easily.
9  */
10 struct FuncRequest {
11         /// 
12         FuncRequest()
13                 : action(LFUN_UNKNOWN_ACTION)
14         {}
15         /// 
16         FuncRequest(kb_action act)
17                 : action(act)
18         {}
19         /// 
20         FuncRequest(kb_action act, string const & arg)
21                 : action(act), argument(arg)
22         {}
23
24         ///
25         kb_action action;
26         ///
27         string argument;
28 };
29
30 #endif