X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fmathed%2FInsetMathSpace.h;h=4f16f1640bf5b38b949c2a6c5c4f3e2d294e4c88;hb=cdc847fd304019a19425a0d5d9d42a556a937097;hp=3e60b41c12e8409a043b279f50ed75f606afd1f0;hpb=584bca0fe8ac1660102e5d41d5c2b2cd48affc72;p=lyx.git diff --git a/src/mathed/InsetMathSpace.h b/src/mathed/InsetMathSpace.h index 3e60b41c12..4f16f1640b 100644 --- a/src/mathed/InsetMathSpace.h +++ b/src/mathed/InsetMathSpace.h @@ -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; } /// @@ -54,13 +53,15 @@ public: /// 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; ///