]> git.lyx.org Git - lyx.git/blob - src/insets/insetcite.h
92bb90f3f2e78cd37e8454eb572b6f14b67dedf8
[lyx.git] / src / insets / insetcite.h
1 // -*- C++ -*-
2 /* This file is part of*
3  * ====================================================== 
4  *
5  *           LyX, The Document Processor
6  *       
7  *           Copyright 2000 The LyX Team.
8  * 
9  * ====================================================== */
10
11 #ifndef INSET_CITE_H
12 #define INSET_CITE_H
13
14 #ifdef __GNUG__
15 #pragma interface
16 #endif
17
18 #include "insetcommand.h"
19
20 /** Used to insert citations  
21  */
22 class InsetCitation: public InsetCommand {
23 public:
24         ///
25         explicit
26         InsetCitation(string const & key, string const & note = string());
27         ///
28         Inset * Clone() const {
29                 return new InsetCitation(getContents(), getOptions());
30         }
31         ///
32         string getScreenLabel() const;
33         ///
34         Code LyxCode() const { return CITATION_CODE; }
35         ///
36         EDITABLE Editable() const { return IS_EDITABLE; }
37 private:
38         ///
39         InsetCitation() : InsetCommand("cite") {}
40 };
41
42 #endif // INSET_CITE_H