X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetfoot.h;h=46caafc48683b3f8e3883e42f7ecf7cf2f33f61d;hb=e28331ed63062dea10d0a21b9ec12034b4b17b9a;hp=275a69c39e181e3ffab1b70309da930af526e53c;hpb=88c555f7984d2e5eb52009b39fe1b00c0c5943ea;p=lyx.git diff --git a/src/insets/insetfoot.h b/src/insets/insetfoot.h index 275a69c39e..46caafc486 100644 --- a/src/insets/insetfoot.h +++ b/src/insets/insetfoot.h @@ -1,46 +1,47 @@ // -*- C++ -*- -/* This file is part of - * ====================================================== - * - * LyX, The Document Processor +/** + * \file insetfoot.h + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Copyright 1998 The LyX Team. + * \author Jürgen Vigna + * \author Lars Gullik Bjønnes * - *====================================================== + * Full author contact details are available in file CREDITS. */ -// The pristine updatable inset: Text - #ifndef INSETFOOT_H #define INSETFOOT_H -#ifdef __GNUG__ -#pragma interface -#endif - -#include "LaTeXFeatures.h" #include "insetfootlike.h" + +namespace lyx { + /** The footnote inset - + */ class InsetFoot : public InsetFootlike { public: /// - InsetFoot(); - /// - InsetFoot(InsetFoot const &, bool same_id = false); + InsetFoot(BufferParams const &); /// - Inset * clone(Buffer const &, bool same_id = false) const; + InsetBase::Code lyxCode() const { return InsetBase::FOOT_CODE; } /// - Inset::Code lyxCode() const { return Inset::FOOT_CODE; } + int latex(Buffer const &, odocstream &, + OutputParams const &) const; /// - int latex(Buffer const *, std::ostream &, bool fragile, bool fp) const; + int docbook(Buffer const &, odocstream &, + OutputParams const & runparams) const; /// - string const editMessage() const; + virtual docstring const editMessage() const; +protected: + InsetFoot(InsetFoot const &); +private: + virtual std::auto_ptr doClone() const; }; -#endif - +} // namespace lyx +#endif