- ///
- typedef std::map<string, kb_action> func_map;
- ///
- typedef std::map<kb_action, func_info> info_map;
- ///
- typedef std::map<unsigned int, pseudo_func> pseudo_map;
- ///
- typedef std::map<string, unsigned int> arg_item;
- ///
- typedef std::map<kb_action, arg_item> arg_map;
-
- ///
- enum func_attrib {
- /// nothing special about this func
- Noop = 0,
- /// can be used in RO mode (perhaps this should change)
- ReadOnly = 1, // ,
- /// Can be used when there is no document open
- NoBuffer = 2,
- //Interactive = 2, // Is interactive (requires a GUI)
- ///
- Argument = 4 // Requires argument
- //MathOnly = 8, // Only math mode
- //EtcEtc = ... // Or other attributes...
- };
-
- ///
- LyXAction();
-
- /** Returns an pseudoaction from a string
- If you include arguments in func_name, a new psedoaction will be
- created if needed. */
- int LookupFunc(string const & func_name) const;