]> git.lyx.org Git - lyx.git/blobdiff - src/LyXFunc.h
Fulfill promise to Andre: TextClass_ptr --> TextClassPtr.
[lyx.git] / src / LyXFunc.h
index d512bc2018d1537d2cc620ac3803f75317fe17d5..84dc9c58fd337f99663e6a9ca9df3320278c9826 100644 (file)
 
 #include "KeySequence.h"
 #include "lfuns.h"
-#include "TextClass_ptr.h"
+#include "TextClassPtr.h"
 
 #include "support/docstring.h"
 
-#include <boost/scoped_ptr.hpp>
 #include <boost/signals/trackable.hpp>
 
 namespace lyx {
@@ -61,7 +60,7 @@ public:
        docstring const viewStatusMessage();
 
        ///
-       void processKeySym(KeySymbolPtr key, key_modifier::state state);
+       void processKeySym(KeySymbol const & key, key_modifier::state state);
 
        ///
        FuncStatus getStatus(FuncRequest const & action) const;
@@ -96,9 +95,9 @@ private:
        char_type encoded_last_key;
 
        ///
-       boost::scoped_ptr<KeySequence> keyseq;
+       KeySequence keyseq;
        ///
-       boost::scoped_ptr<KeySequence> cancel_meta_seq;
+       KeySequence cancel_meta_seq;
        ///
        key_modifier::state meta_fake_bit;
 
@@ -128,7 +127,7 @@ private:
        ///
        bool ensureBufferClean(BufferView * bv);
        ///
-       void updateLayout(TextClass_ptr const & oldlayout, Buffer * buffer);
+       void updateLayout(TextClassPtr const & oldlayout, Buffer * buffer);
 };
 
 /// Implementation is in LyX.cpp