]> git.lyx.org Git - lyx.git/blob - src/frontends/controllers/ControlCitation.h
Edwin's "about" patch + consistent use of Lsstream.h
[lyx.git] / src / frontends / controllers / ControlCitation.h
1 // -*- C++ -*-
2 /* This file is part of
3  * ====================================================== 
4  *
5  *           LyX, The Document Processor
6  *
7  *           Copyright 2001 The LyX Team.
8  *
9  * ======================================================
10  *
11  * \file ControlCitation.h
12  * \author Angus Leeming <a.leeming@ic.ac.uk>
13  */
14
15 #ifndef CONTROLCITATION_H
16 #define CONTROLCITATION_H
17
18 #ifdef __GNUG__
19 #pragma interface
20 #endif
21
22 #include "ControlCommand.h"
23 #include "biblio.h" // biblio::InfoMap
24
25 /** A controller for Citation dialogs.
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