-/* This file is part of
- * ======================================================
- *
- * LyX, The Document Processor
- *
- * Copyright 2001 The LyX Team.
+/**
+ * \file FuncStatus.C
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * ====================================================== */
+ * \author Jean-Marc Lasgouttes
+ *
+ * Full author contact details are available in file CREDITS.
+ */
#include <config.h>
-#ifdef __GNUG__
-#pragma implementation
-#endif
-
#include "FuncStatus.h"
FuncStatus::FuncStatus() : v_(OK)
FuncStatus & FuncStatus::disabled (bool b)
{
if (b)
- v_ |= DISABLED;
+ v_ |= DISABLED;
else
v_ &= !DISABLED;
return *this;
bool FuncStatus::onoff (bool b) const
{
- if (b)
+ if (b)
return (v_ & ON);
else
return (v_ & OFF);