]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/controllers/ControlCommandBuffer.h
convert author names and status messages to docstring
[lyx.git] / src / frontends / controllers / ControlCommandBuffer.h
index 983b7e40a78da706815d277b612f5d25c2418cb2..b1e413411e50f7f4e524299ce3f9b7926c666022 100644 (file)
 #ifndef CONTROLCOMMANDBUFFER_H
 #define CONTROLCOMMANDBUFFER_H
 
+#include "support/docstring.h"
+
 #include <vector>
 
 
+namespace lyx {
+
 class LyXView;
 
+namespace frontend {
+
 /**
  * ControlCommandBuffer
  *
@@ -36,7 +42,7 @@ public:
        std::string const historyDown();
 
        /// return the font and depth in the active BufferView as a message.
-       std::string const getCurrentState() const;
+       docstring const getCurrentState() const;
 
        /// return the possible completions
        std::vector<std::string> const completions(std::string const & prefix,
@@ -58,4 +64,7 @@ private:
        std::vector<std::string>::const_iterator history_pos_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // CONTROLCOMMANDBUFFER_H