]> git.lyx.org Git - lyx.git/blobdiff - src/kbsequence.h
remove obsolete comment
[lyx.git] / src / kbsequence.h
index 3d894a1ec31c54d1fe602cb7db77656a7d757095..6fa089880cfcf86f852d0b440f0fd79e8d5a7b28 100644 (file)
 #define KBSEQUENCE_H
 
 #include "frontends/key_state.h"
-
-#include <boost/shared_ptr.hpp>
+#include "frontends/LyXKeySym.h"
 
 #include <string>
 #include <vector>
 
+
+namespace lyx {
+
 class kb_keymap;
-class LyXKeySym;
 class FuncRequest;
 
 /// Holds a key sequence and the current and standard keymaps
 class kb_sequence {
 public:
-       typedef boost::shared_ptr<LyXKeySym> LyXKeySymPtr;
        typedef std::vector<LyXKeySymPtr> KeySequence;
 
        friend class kb_keymap;
@@ -65,13 +65,13 @@ public:
         * Return the current sequence as a string.
         * @see parse()
         */
-       std::string const print() const;
+       docstring const print() const;
 
        /**
         * Return the current sequence and available options as
         * a string. No options are added if no curmap kb map exists.
         */
-       std::string const printOptions() const;
+       docstring const printOptions() const;
 
        /// Mark the sequence as deleted.
        void mark_deleted();
@@ -114,4 +114,7 @@ private:
        bool deleted_;
 };
 
+
+} // namespace lyx
+
 #endif