]> git.lyx.org Git - lyx.git/blob - src/insets/InsetFootlike.h
Make members of FuncRequest private, per the FIXME there. Again, this is
[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
18 namespace lyx {
19
20 // To have this class is probably a bit overkill... (Lgb)
21
22 // The footnote inset
23 class InsetFootlike : public InsetCollapsable {
24 public:
25         ///
26         InsetFootlike(Buffer *);
27         ///
28         bool hasSettings() const { return false; }
29 private:
30         ///
31         void metrics(MetricsInfo &, Dimension &) const;
32         ///
33         void draw(PainterInfo & pi, int x, int y) const;
34         ///
35         void write(std::ostream & os) const;
36         ///
37         bool insetAllowed(InsetCode) const;
38         /** returns true if, when outputing LaTeX, font changes should
39             be closed before generating this inset. This is needed for
40             insets that may contain several paragraphs */
41         bool noFontChange() const { return true; }
42 };
43
44
45 } // namespace lyx
46
47 #endif