]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathSpace.h
Fixup 89662a68: remove markers that should not be there
[lyx.git] / src / mathed / InsetMathSpace.h
index f45dee5d96727f25c60556f02842b156ad2c37db..4f16f1640bf5b38b949c2a6c5c4f3e2d294e4c88 100644 (file)
@@ -18,6 +18,7 @@
 
 namespace lyx {
 
+struct InsetSpaceParams;
 
 /// Smart spaces
 class InsetMathSpace : public InsetMath {
@@ -27,9 +28,7 @@ public:
        ///
        explicit InsetMathSpace(std::string const & name, std::string const & length);
        ///
-       explicit InsetMathSpace(Length const & length);
-       ///
-       ~InsetMathSpace();
+       explicit InsetMathSpace(Length const & length, bool const prot = false);
        ///
        InsetMathSpace const * asSpaceInset() const { return this; }
        ///
@@ -52,15 +51,22 @@ public:
        ///
        void octave(OctaveStream &) const;
        ///
+       void mathmlize(MathStream & ms) const;
+       ///
+       void htmlize(HtmlStream & ms) const;
+       ///
        void write(WriteStream & os) const;
        /// generate something that will be understood by the Dialogs.
-       std::string const createDialogStr() const;
+       InsetSpaceParams params() const;
        ///
        bool hasSettings() const { return true; }
        ///
-       docstring contextMenu(BufferView const &, int, int) const;
+       std::string contextMenuName() const;
        ///
        bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+       ///
+       InsetCode lyxCode() const { return MATH_SPACE_CODE; }
+
 protected:
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);