]> git.lyx.org Git - lyx.git/blob - src/insets/insetcite.h
63789cf51e316303aa078938e44ccefa54d9b56d
[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 #ifdef SIGC_CXX_NAMESPACES
22 using SigC::Signal0;
23 #endif
24
25 /** Used to insert citations  
26  */
27 class InsetCitation : public InsetCommand {
28 public:
29         ///
30         explicit
31         InsetCitation(InsetCommandParams const &);
32         ///
33         ~InsetCitation();
34         ///
35         Inset * Clone() const { return new InsetCitation(params()); }
36         ///
37         string getScreenLabel() const;
38         ///
39         EDITABLE Editable() const { return IS_EDITABLE; }
40         ///
41         void Edit(BufferView *, int, int, unsigned int);
42         ///
43         Signal0<void> hide;
44 };
45
46 #endif // INSET_CITE_H