1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 2001 The LyX Team.
8 * ====================================================== */
12 #include "FuncStatus.h"
14 FuncStatus::FuncStatus() : v_(OK)
19 FuncStatus & FuncStatus::clear ()
25 void FuncStatus::operator |= (FuncStatus const & f)
30 FuncStatus & FuncStatus::unknown (bool b)
40 bool FuncStatus::unknown () const
42 return (v_ & UNKNOWN);
46 FuncStatus & FuncStatus::disabled (bool b)
56 bool FuncStatus::disabled () const
58 return (v_ & DISABLED);
62 void FuncStatus::setOnOff (bool b)
68 bool FuncStatus::onoff (bool b) const