]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetfoot.h
Some more changes for updating text-insets.
[lyx.git] / src / insets / insetfoot.h
index c162375f782e760795a630a6f96aadb9cd95d8ca..115ce8ff205aaeac413635c749d966a52728a0bd 100644 (file)
@@ -20,7 +20,6 @@
 
 #include "insetcollapsable.h"
 
-
 class Painter;
 
 /** The footnote inset
@@ -28,28 +27,27 @@ class Painter;
 */
 class InsetFoot : public InsetCollapsable {
 public:
-    ///
-    InsetFoot(Buffer *);
-    ///
-    ~InsetFoot() {}
-    ///
-    InsetFoot * Clone() const;
-    ///
-    Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
-#ifndef USE_OSTREAM_ONLY
-    ///
-    int Latex(string &, signed char) const;
-#endif
-    ///
-    int Latex(ostream &, signed char, bool fp) const;
-    ///
-    void Write(ostream &) const;
-    ///
-    void Read(LyXLex &);
-    ///
-    const char * EditMessage() const;
-    ///
-    bool InsertInset(BufferView *, Inset * inset);
+       ///
+       explicit
+       InsetFoot();
+       ///
+       ~InsetFoot() {}
+       ///
+       void Write(Buffer const * buf, std::ostream & os) const;
+       ///
+       Inset * Clone() const;
+       ///
+       Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
+       ///
+       int Latex(Buffer const *, std::ostream &, bool fragile, bool fp) const;
+       ///
+       const char * EditMessage() const;
+       ///
+       bool InsertInset(BufferView *, Inset * inset);
+       ///
+       bool InsertInsetAllowed(Inset * inset) const;
+       ///
+//     LyXFont GetDrawFont(BufferView *, LyXParagraph * par, int pos) const;
 };
 
 #endif