#ifndef FUNC_STATUS_H
#define FUNC_STATUS_H
+#include <string>
+
/// The status of a function.
class FuncStatus
unsigned int v_;
+ std::string message_;
+
public:
///
FuncStatus();
- //
+ ///
void clear();
///
void operator|=(FuncStatus const & f);
bool unknown() const;
///
- void disabled(bool b);
+ void enabled(bool b);
///
- bool disabled() const;
+ bool enabled() const;
///
void setOnOff(bool b);
///
bool onoff(bool b) const;
+
+ ///
+ void message(std::string const & m);
+ ///
+ std::string const & message() const;
};
#endif