]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetIPA.h
Some things did not need to be mutable after all
[lyx.git] / src / insets / InsetIPA.h
index 09c0e83e3feee3947e1f6141b686d0f4b37f0bb9..9b702c92b368cd7fa06c31efd94259f70ca5badc 100644 (file)
@@ -16,7 +16,8 @@
 
 #include "Dimension.h"
 
-#include <boost/scoped_ptr.hpp>
+#include "support/unique_ptr.h"
+
 
 namespace lyx {
 
@@ -36,6 +37,8 @@ public:
        ~InsetIPA();
        ///
        InsetIPA(InsetIPA const & other);
+       ///
+       InsetIPA & operator=(InsetIPA const & other);
 
        /// \name Methods inherited from Inset class
        //@{
@@ -55,6 +58,11 @@ public:
 
        void draw(PainterInfo & pi, int x, int y) const;
 
+       ///
+       void doDispatch(Cursor & cur, FuncRequest & cmd);
+       ///
+       bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+
        void addPreview(DocIterator const & inset_pos,
                graphics::PreviewLoader & ploader) const;
 
@@ -67,6 +75,8 @@ public:
        ///
        void latex(otexstream &, OutputParams const &) const;
        ///
+       docstring xhtml(XHTMLStream & xs, OutputParams const &) const;
+       ///
        void validate(LaTeXFeatures & features) const;
        ///
        bool allowSpellCheck() const { return false; }
@@ -84,13 +94,7 @@ protected:
        void preparePreview(DocIterator const & pos) const;
 
        ///
-       boost::scoped_ptr<RenderPreview> preview_;
-       ///
-       mutable bool use_preview_;
-
-private:
-       ///
-       mutable Dimension dim_;
+       unique_ptr<RenderPreview> preview_;
 };