]> git.lyx.org Git - lyx.git/blob - src/insets/insetcite.h
Fix small bug in reading \set_color in lyxrc
[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 #include <sigc++/signal_system.h>
20
21 class Dialogs;
22
23 #ifdef SIGC_CXX_NAMESPACES
24 using SigC::Signal0;
25 #endif
26
27
28 /** Used to insert citations  
29  */
30 class InsetCitation : public InsetCommand {
31 public:
32         ///
33         explicit
34         InsetCitation(string const & key, string const & note = string());
35         ///
36         ~InsetCitation();
37         ///
38         Inset * Clone() const {
39                 return new InsetCitation(getContents(), getOptions());
40         }
41         ///
42         string getScreenLabel() const;
43         ///
44         EDITABLE Editable() const { return IS_EDITABLE; }
45         ///
46         void Edit(BufferView *, int, int, unsigned int);
47         ///
48         Signal0<void> hide;
49 };
50
51 #endif // INSET_CITE_H