]> git.lyx.org Git - lyx.git/blobdiff - src/FuncStatus.h
FuncStatus::enabled(bool) --> FuncStatus::setEnabled(bool)
[lyx.git] / src / FuncStatus.h
index b632db547185e8e3133de9229e286ba5b043c120..af2801389e8e2ca4cbf3b8b3644cf3b7cc9eec49 100644 (file)
@@ -14,6 +14,9 @@
 
 #include "support/docstring.h"
 
+
+namespace lyx {
+
 /// The status of a function.
 
 class FuncStatus
@@ -41,7 +44,7 @@ private:
 
        unsigned int v_;
 
-       lyx::docstring message_;
+       docstring message_;
 
 public:
        ///
@@ -56,7 +59,7 @@ public:
        bool unknown() const;
 
        ///
-       void enabled(bool b);
+       void setEnabled(bool b);
        /// tells whether it can be invoked (otherwise it will be grayed-out).
        bool enabled() const;
 
@@ -67,9 +70,12 @@ public:
        bool onoff(bool b) const;
 
        ///
-       void message(lyx::docstring const & m);
+       void message(docstring const & m);
        ///
-       lyx::docstring const & message() const;
+       docstring const & message() const;
 };
 
+
+} // namespace lyx
+
 #endif