]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetoptarg.h
insetcharstyle drawing cosmetics
[lyx.git] / src / insets / insetoptarg.h
index 6abba7f9342ae211363153e2bfdc41cd1cc94a3a..0b2deee38b8adde7f5615562214530b4d80bca3e 100644 (file)
@@ -13,7 +13,6 @@
 #define INSETOPTARG_H
 
 
-#include "insettext.h"
 #include "insetcollapsable.h"
 
 
@@ -28,19 +27,17 @@ public:
        InsetOptArg(InsetOptArg const &);
        /// make a duplicate of this inset
        virtual std::auto_ptr<InsetBase> clone() const;
-       /// this inset is editable
-       EDITABLE editable() const { return IS_EDITABLE; }
        /// code of the inset
        InsetOld::Code lyxCode() const { return InsetOld::OPTARG_CODE; }
        /// return an message upon editing
-       string const editMessage() const;
+       std::string const editMessage() const;
 
        /// Standard LaTeX output -- short-circuited
        int latex(Buffer const &, std::ostream &,
-                 LatexRunParams const &) const;
+                 OutputParams const &) const;
        /// Outputting the optional parameter of a LaTeX command
        int latexOptional(Buffer const &, std::ostream &,
-                         LatexRunParams const &) const;
+                         OutputParams const &) const;
        /// Write out tothe .lyx file
        void write(Buffer const & buf, std::ostream & os) const;
 };