1 /* This file is part of
2 * ======================================================
4 * LyX, The Document Processor
6 * Copyright 2001 The LyX Team.
8 * ====================================================== */
13 #pragma implementation
16 #include "FuncStatus.h"
18 FuncStatus::FuncStatus() : v_(OK)
23 FuncStatus & FuncStatus::clear ()
29 void FuncStatus::operator |= (FuncStatus const & f)
34 FuncStatus & FuncStatus::unknown (bool b)
44 bool FuncStatus::unknown () const
46 return (v_ & UNKNOWN);
50 FuncStatus & FuncStatus::disabled (bool b)
60 bool FuncStatus::disabled () const
62 return (v_ & DISABLED);
66 void FuncStatus::setOnOff (bool b)
72 bool FuncStatus::onoff (bool b) const