]> git.lyx.org Git - features.git/blob - src/insets/insetcite.h
read the Changelog
[features.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 class Dialogs;
20
21 /** Used to insert citations  
22  */
23 class InsetCitation : public InsetCommand {
24 public:
25         ///
26         explicit
27         InsetCitation(string const & key, string const & note = string());
28         ///
29         ~InsetCitation();
30         ///
31         Inset * Clone() const {
32                 return new InsetCitation(getContents(), getOptions());
33         }
34         ///
35         string getScreenLabel() const;
36         ///
37         EDITABLE Editable() const { return IS_EDITABLE; }
38         ///
39         void Edit(BufferView *, int, int, unsigned int);
40 private:
41         ///
42         //InsetCitation() : InsetCommand("cite"), dialogs_(0) {}
43         ///
44         Dialogs * dialogs_;
45 };
46
47 #endif // INSET_CITE_H