- void newFunc(kb_action, string const & name,
- string const & helpText, unsigned int attrib);
-
- /**
- * This is a list of all the LyXFunc names with the
- * coresponding action number. It is usually only used by the
- * minibuffer or when assigning commands to keys during init.
- */
- func_map lyx_func_map;
-
- /**
- * This is a mapping from action number to an object holding
- * info about this action. f.ex. helptext, command name (string),
- * command attributes (ro)
- */
- info_map lyx_info_map;
+ void newFunc(FuncCode, std::string const & name, unsigned int attrib, FuncType type);