]> git.lyx.org Git - lyx.git/blob - src/insets/insetfootlike.h
remove commented same_id functions, and also remove some const_casts
[lyx.git] / src / insets / insetfootlike.h
1 // -*- C++ -*-
2 /**
3  * \file insetfootlike.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Lars Gullik Bjønnes
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef INSETFOOTLIKE_H
13 #define INSETFOOTLIKE_H
14
15 #include "insetcollapsable.h"
16
17 // To have this class is probably a bit overkill... (Lgb)
18
19 // The footnote inset
20 class InsetFootlike : public InsetCollapsable {
21 public:
22         ///
23         InsetFootlike(BufferParams const &);
24         ///
25         InsetFootlike(InsetFootlike const &);
26         ///
27         void write(Buffer const * buf, std::ostream & os) const;
28         ///
29         bool insetAllowed(Inset::Code) const;
30         /** returns true if, when outputing LaTeX, font changes should
31             be closed before generating this inset. This is needed for
32             insets that may contain several paragraphs */
33         bool noFontChange() const { return true; }
34 };
35
36 #endif