]> git.lyx.org Git - lyx.git/blob - src/insets/insetcite.h
Angus patch + small insetfloat->Write-bug fix.
[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 /** Used to insert citations  
24  */
25 class InsetCitation : public InsetCommand {
26 public:
27         ///
28         explicit
29         InsetCitation(string const & key, string const & note = string());
30         ///
31         ~InsetCitation();
32         ///
33         Inset * Clone() const {
34                 return new InsetCitation(getContents(), getOptions());
35         }
36         ///
37         string getScreenLabel() const;
38         ///
39         EDITABLE Editable() const { return IS_EDITABLE; }
40         ///
41         void Edit(BufferView *, int, int, unsigned int);
42         ///
43         SigC::Signal0<void> hide;
44 };
45
46 #endif // INSET_CITE_H