X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfoot.h;h=275a69c39e181e3ffab1b70309da930af526e53c;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=03e0f014892ef51606a709665fab672df1d7a748;hpb=b3e20a15e74bc3a419ed6d01e49dccc11192b205;p=lyx.git diff --git a/src/insets/insetfoot.h b/src/insets/insetfoot.h index 03e0f01489..275a69c39e 100644 --- a/src/insets/insetfoot.h +++ b/src/insets/insetfoot.h @@ -4,7 +4,7 @@ * * LyX, The Document Processor * - * Copyright (C) 1998 The LyX Team. + * Copyright 1998 The LyX Team. * *====================================================== */ @@ -18,38 +18,29 @@ #pragma interface #endif -#include "insetcollapsable.h" - - -class Painter; +#include "LaTeXFeatures.h" +#include "insetfootlike.h" /** The footnote inset */ -class InsetFoot : public InsetCollapsable { +class InsetFoot : public InsetFootlike { public: - /// - InsetFoot(Buffer *); - /// - ~InsetFoot() {} - /// - 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) const; - /// - void Write(ostream &) const; - /// - void Read(LyXLex &); - /// - const char * EditMessage() const; - /// - bool InsertInset(BufferView *, Inset * inset); + /// + InsetFoot(); + /// + InsetFoot(InsetFoot const &, bool same_id = false); + /// + Inset * clone(Buffer const &, bool same_id = false) const; + /// + Inset::Code lyxCode() const { return Inset::FOOT_CODE; } + /// + int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; + /// + string const editMessage() const; }; #endif + + +