3 * This file is part of LyX, the document processor.
4 * Licence details can be found in the file COPYING.
6 * \author Jean-Marc Lasgouttes
8 * Full author contact details are available in file CREDITS.
13 #include "FuncStatus.h"
15 FuncStatus::FuncStatus() : v_(OK)
20 void FuncStatus::clear()
26 void FuncStatus::operator|=(FuncStatus const & f)
32 void FuncStatus::unknown(bool b)
42 bool FuncStatus::unknown() const
44 return (v_ & UNKNOWN);
48 void FuncStatus::enabled(bool b)
57 bool FuncStatus::enabled() const
59 return !(v_ & DISABLED);
63 void FuncStatus::setOnOff(bool b)
69 bool FuncStatus::onoff(bool b) const