- /// Returns a pseudo-action given an action and its argument.
- int getPseudoAction(kb_action action, string const & arg);
-
- /**
- * Given a pseudo-action, return the real action and
- * associated argument
- */
- FuncRequest retrieveActionArg(int pseudo) const;
-
- /// Search for an existent pseudoaction, return -1 if it doesn't exist.
- int searchActionArg(kb_action action, string const & arg) const;
-
- /// Return the name (and argument) associated with the given (pseudo) action
- string const getActionName(int action) const;
+ /// Return the command name associated with the given action
+ /// Thus: getActionName(LFUN_ERT_INSERT) --> "ert-insert".
+ std::string const getActionName(FuncCode action) const;
+ ///
+ FuncType getActionType(FuncCode action) const;