]> 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 124cc668a09e2d293cb6ecb1c7d047811ee2d434..b1e413411e50f7f4e524299ce3f9b7926c666022 100644 (file)
 #ifndef CONTROLCOMMANDBUFFER_H
 #define CONTROLCOMMANDBUFFER_H
 
-#include <string>
+#include "support/docstring.h"
+
 #include <vector>
 
 
+namespace lyx {
+
 class LyXView;
 
+namespace frontend {
+
 /**
  * ControlCommandBuffer
  *
@@ -37,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,
@@ -59,4 +64,7 @@ private:
        std::vector<std::string>::const_iterator history_pos_;
 };
 
+} // namespace frontend
+} // namespace lyx
+
 #endif // CONTROLCOMMANDBUFFER_H