]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcommand.h
Rename LatexRunParams::fragile as moving_arg.
[lyx.git] / src / insets / insetcommand.h
index f5da108153399f6cffaa9b5b3a395895db0c8e7f..6b734eebe1b47d352a9c6e01eec4962ed292587f 100644 (file)
@@ -42,7 +42,7 @@ public:
        void scanCommand(string const & c) { p_.scanCommand(c); };
        ///
        virtual int latex(Buffer const *, std::ostream &,
-                         bool fragile, bool free_spc) const;
+                         LatexRunParams const &) const;
        ///
        int ascii(Buffer const *, std::ostream &, int linelen) const;
        ///
@@ -70,7 +70,7 @@ public:
        InsetCommandParams const & params() const { return p_; }
        ///
        void setParams(InsetCommandParams const &);
-       /// small wrapper for the time being
+       ///
        virtual dispatch_result localDispatch(FuncRequest const & cmd);
 
 private:
@@ -84,7 +84,7 @@ public:
        ///
        InsetCommandMailer(string const & name, InsetCommand & inset);
        ///
-       virtual Inset & inset() const { return inset_; }
+       virtual InsetBase & inset() const { return inset_; }
        ///
        virtual string const & name() const { return name_; }
        ///
@@ -92,7 +92,8 @@ public:
        ///
        static void string2params(string const &, InsetCommandParams &);
        ///
-       static string const params2string(InsetCommandParams const &);
+       static string const params2string(string const & name,
+                                         InsetCommandParams const &);
 private:
        ///
        string const name_;