]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlCitation.h
Once again the user can use the Font button on the toolbar to get the current
[lyx.git] / src / frontends / controllers / ControlCitation.h
1 /* This file is part of
2  * ====================================================== 
3  *
4  *           LyX, The Document Processor
5  *
6  *           Copyright 2001 The LyX Team.
7  *
8  * ======================================================
9  *
10  * \file ControlCitation.h
11  * \author Angus Leeming <a.leeming@ic.ac.uk>
12  */
13
14 #ifndef CONTROLCITATION_H
15 #define CONTROLCITATION_H
16
17 #ifdef __GNUG__
18 #pragma interface
19 #endif
20
21 #include "ControlCommand.h"
22 #include "biblio.h" // biblio::InfoMap
23
24 /** A controller for Citation dialogs.
25  */
26 class ControlCitation : public ControlCommand
27 {
28 public:
29         ///
30         ControlCitation(LyXView &, Dialogs &);
31
32         /// Returns a reference to the map of stored keys
33         biblio::InfoMap const & bibkeysInfo() const;
34
35 private:
36         /// create the InfoMap of keys and data
37         virtual void setDaughterParams();
38         /// 
39         virtual void clearDaughterParams();
40
41         /// The info associated with each key
42         biblio::InfoMap bibkeysInfo_;
43 };
44
45 #endif // CONTROLCITATION_H