FuncStatus & status() { return status_; }
/// returns the status of the lfun associated with this entry
void status(FuncStatus const & status) { status_ = status; }
- /**
- * returns the binding associated to this action.
- * Use the native UI format when \c forgui is true.
- */
- docstring const binding(bool forgui) const;
+ ///returns the binding associated to this action.
+ docstring const binding() const;
/// the description of the submenu (if relevant)
docstring const & submenuname() const { return submenuname_; }
/// set the description of the submenu
// search for func in this menu iteratively, and put menu
// names in a stack.
- bool searchFunc(FuncRequest & func, std::stack<docstring> & names);
+ bool searchFunc(FuncRequest & func, std::stack<docstring> & names) const;
private:
friend class MenuBackend;
Menu specialmenu_;
};
-///
-extern MenuBackend menubackend;
-
-
} // namespace lyx
#endif // MENUBACKEND_H