X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfoot.h;h=2a64b918726127adba50fea8d8cc33cb2d9206a8;hb=3ce727041d6eef7a30ea58d8469ac8042eb20409;hp=2fd833a8186559539f29923e9cd5c465389029b3;hpb=23f2fead49b48ccf8c961d441bbd48d841c7ab6e;p=lyx.git diff --git a/src/insets/insetfoot.h b/src/insets/insetfoot.h index 2fd833a818..2a64b91872 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,24 @@ #pragma interface #endif -#include "insetcollapsable.h" - - -class Painter; +#include "insetfootlike.h" /** The footnote inset */ -class InsetFoot : public InsetCollapsable { +class InsetFoot : public InsetFootlike { 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) const; - /// - void Write(ostream &) const; - /// - void Read(LyXLex &); - /// - const char * EditMessage() const; - /// - bool InsertInset(BufferView *, Inset * inset); + /// + InsetFoot(); + /// + Inset::Code lyxCode() const { return Inset::FOOT_CODE; } + /// + int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; + /// + string const editMessage() const; }; #endif + + +