]> git.lyx.org Git - lyx.git/blob - src/insets/insetfoot.h
fa8b6533342841fe67c956bcd249920af5b578a7
[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 using std::ostream;
24
25 class Painter;
26
27 /** The footnote inset
28   
29 */
30 class InsetFoot : public InsetCollapsable {
31 public:
32     ///
33     InsetFoot(Buffer *);
34     ///
35     ~InsetFoot() {}
36     ///
37     Inset * Clone() const;
38     ///
39     Inset::Code LyxCode() const { return Inset::FOOT_CODE; }
40     ///
41     int Latex(ostream &, signed char, bool fp) const;
42     ///
43     void Write(ostream &) const;
44     ///
45     void Read(LyXLex &);
46     ///
47     const char * EditMessage() const;
48     ///
49     bool InsertInset(BufferView *, Inset * inset);
50 };
51
52 #endif