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 /// It is unknown wether the command can be executed or not
28 /// Command cannot be executed
30 /// Command is on (i. e. the menu item has a checkmark
31 /// and the toolbar icon is pushed).
32 /// Not all commands use this
34 /// Command is off (i. e. the menu item has no checkmark
35 /// and the toolbar icon is not pushed).
36 /// Not all commands use this
50 void operator|=(FuncStatus const & f);
58 /// tells whether it can be invoked (otherwise it will be grayed-out).
62 void setOnOff(bool b);
63 /// tells whether the menu item should have a check mark
64 /// (or the toolbar icon should be pushed).
65 bool onoff(bool b) const;
68 void message(std::string const & m);
70 std::string const & message() const;