]> git.lyx.org Git - lyx.git/blobdiff - src/kbsequence.h
Fix 3188, update the labels at each Caption insertion.
[lyx.git] / src / kbsequence.h
index ba0181bcb059f65a21a26a27f35908491f2aa357..6dc269a0357687f9f3e343c8927992a5a4036848 100644 (file)
@@ -19,6 +19,9 @@
 #include <string>
 #include <vector>
 
+
+namespace lyx {
+
 class kb_keymap;
 class FuncRequest;
 
@@ -60,15 +63,19 @@ public:
 
        /**
         * Return the current sequence as a string.
+        * @param forgui true if the string should use translations and 
+        *   special characters. 
         * @see parse()
         */
-       std::string const print() const;
+       docstring const print(bool forgui) const;
 
        /**
         * Return the current sequence and available options as
         * a string. No options are added if no curmap kb map exists.
+        * @param forgui true if the string should use translations and 
+        *   special characters. 
         */
-       std::string const printOptions() const;
+       docstring const printOptions(bool forgui) const;
 
        /// Mark the sequence as deleted.
        void mark_deleted();
@@ -111,4 +118,7 @@ private:
        bool deleted_;
 };
 
+
+} // namespace lyx
+
 #endif