]> git.lyx.org Git - lyx.git/blob - src/insets/insetnote.h
add warning make controllers compile and remove some alomost unused functions, commen...
[lyx.git] / src / insets / insetnote.h
1 // -*- C++ -*-
2 /**
3  * \file insetnote.h
4  * This file is part of LyX, the document processor.
5  * Licence details can be found in the file COPYING.
6  *
7  * \author Angus Leeming
8  *
9  * Full author contact details are available in file CREDITS
10  */
11
12 #ifndef INSETNOTE_H
13 #define INSETNOTE_H
14
15
16 #include "insetcollapsable.h"
17
18 /** The PostIt note inset
19
20 */
21 class InsetNote : public InsetCollapsable {
22 public:
23         ///
24         InsetNote(BufferParams const &);
25         ///
26         InsetNote(InsetNote const &, bool same_id = false);
27         ///
28         Inset * clone(Buffer const &, bool same_id = false) const;
29         ///
30         string const editMessage() const;
31         ///
32         Inset::Code lyxCode() const { return Inset::NOTE_CODE; }
33         ///
34         void write(Buffer const *, std::ostream &) const;
35         ///
36         int latex(Buffer const *, std::ostream &, bool, bool) const
37                 { return 0; }
38         ///
39         int linuxdoc(Buffer const *, std::ostream &) const
40                 { return 0; }
41         ///
42         int docbook(Buffer const *, std::ostream &, bool) const
43                 { return 0; }
44         ///
45         int ascii(Buffer const *, std::ostream &, int) const
46                 { return 0; }
47         ///
48         void validate(LaTeXFeatures &) const {}
49 private:
50         /// used by the constructors
51         void init();
52
53 };
54
55 #endif