]> git.lyx.org Git - lyx.git/blob - src/insets/insetfoot.h
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / insetfoot.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ======================================================
4  * 
5  *           LyX, The Document Processor
6  *
7  *           Copyright 1998 The LyX Team.
8  *
9  *======================================================
10  */
11 // The pristine updatable inset: Text
12
13
14 #ifndef INSETFOOT_H
15 #define INSETFOOT_H
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "insetcollapsable.h"
22
23 class Painter;
24
25 /** The footnote inset
26   
27 */
28 class InsetFoot : public InsetCollapsable {
29 public:
30     ///
31         explicit
32     InsetFoot(Buffer *);
33     ///
34     ~InsetFoot() {}
35     ///
36     Inset * Clone() const;
37     ///
38     Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
39     ///
40     int Latex(std::ostream &, bool fragile, bool fp) const;
41     ///
42     const char * EditMessage() const;
43     ///
44     bool InsertInset(BufferView *, Inset * inset);
45     ///
46     bool InsertInsetAllowed(Inset * inset) const;
47     ///
48     LyXFont GetDrawFont(LyXParagraph * par, int pos) const;
49     ///
50 };
51
52 #endif