]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetcommand.h
Enable the external inset to handle unknown templates gracefully.
[lyx.git] / src / insets / insetcommand.h
index 08a05823dd720b563274dfa03ac68a6a0b0bd15e..a3e14b818a40d73603971f2fe88095bcd5634052 100644 (file)
@@ -31,7 +31,9 @@ class InsetCommand : public InsetButton, boost::noncopyable {
 public:
        ///
        explicit
-       InsetCommand(InsetCommandParams const &, bool same_id = false);
+       InsetCommand(InsetCommandParams const &);
+       ///
+       InsetCommand(InsetCommand const &);
        ///
        void write(Buffer const *, std::ostream & os) const
                { p_.write(os); }
@@ -42,7 +44,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;
        ///