4 * This file is part of LyX, the document processor.
5 * Licence details can be found in the file COPYING.
7 * \author Jean-Marc Lasgouttes
9 * Full author contact details are available in file CREDITS.
17 /// The status of a function.
24 /// Command can be executed
26 /// This command does not exist, possibly because it is not
27 /// compiled in (e.g. LFUN_THESAURUS) or the user mistyped
28 /// it in the minibuffer. UNKNOWN commands have no menu entry.
30 /// Command cannot be executed
32 /// Command is on (i. e. the menu item has a checkmark
33 /// and the toolbar icon is pushed).
34 /// Not all commands use this
36 /// Command is off (i. e. the menu item has no checkmark
37 /// and the toolbar icon is not pushed).
38 /// Not all commands use this
52 void operator|=(FuncStatus const & f);
60 /// tells whether it can be invoked (otherwise it will be grayed-out).
64 void setOnOff(bool b);
65 /// tells whether the menu item should have a check mark
66 /// (or the toolbar icon should be pushed).
67 bool onoff(bool b) const;
70 void message(std::string const & m);
72 std::string const & message() const;