]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlatex.h
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / insetlatex.h
index 8c163183eee42f2dc5607e169ed3eaaf6a84bca9..c3b5b52a500622c18ab241ffc82623a9ddd1a5cd 100644 (file)
@@ -6,7 +6,7 @@
  *      
  *         Copyright (C) 1995 Matthias Ettrich
  *
- * ======================================================*/
+ * ====================================================== */
 
 #ifndef INSET_LATEX_H
 #define INSET_LATEX_H
   delete/backspace operations. This is used when you insert a LaTeX
   figure (done as "\input "), but you still have to type the filename
   yourself after the inset. */
-class InsetLatex: public Inset {
+class InsetLatex : public Inset {
 public:
        ///
        InsetLatex();
        ///
+       explicit
        InsetLatex(string const & string);
        ///
        ~InsetLatex();
@@ -45,9 +46,11 @@ public:
        ///
        void Read(LyXLex & lex);
        ///
-       int Latex(FILE * file, signed char fragile);
+       int Latex(FILE * file, signed char fragile, bool free_spc);
        ///
-       int Latex(string & file, signed char fragile);
+       int Latex(string & file, signed char fragile, bool free_spc);
+       ///
+       int Ascii(string & file) const;
        ///
        int Linuxdoc(string & file);
        ///
@@ -55,7 +58,7 @@ public:
        ///
        bool Deletable() const;
        ///
-       Inset * Clone();
+       Inset * Clone() const;
        ///
        Inset::Code LyxCode() const;
 private: