]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlCitation.h
Controller-view split of Graphics and Index popups.
[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. All citation-specific functionality
25     should go in here.
26  */
27 class ControlCitation : public ControlCommand
28 {
29 public:
30         ///
31         ControlCitation(LyXView &, Dialogs &);
32
33         /// Returns a reference to the map of stored keys
34         biblio::InfoMap const & bibkeysInfo() const;
35
36 private:
37         /// create the InfoMap of keys and data
38         virtual void setDaughterParams();
39         /// 
40         virtual void clearDaughterParams();
41
42         /// The info associated with each key
43         biblio::InfoMap bibkeysInfo_;
44 };
45
46 #endif // CONTROLCITATION_H