lyx_mirror/src/frontends/controllers/ControlCitation.h

47 lines
1010 B
C
Raw Normal View History

/* This file is part of
* ======================================================
*
* LyX, The Document Processor
*
* Copyright 2001 The LyX Team.
*
* ======================================================
*
* \file ControlCitation.h
* \author Angus Leeming <a.leeming@ic.ac.uk>
*/
#ifndef CONTROLCITATION_H
#define CONTROLCITATION_H
#ifdef __GNUG__
#pragma interface
#endif
#include "ControlCommand.h"
#include "biblio.h" // biblio::InfoMap
/** A controller for Citation dialogs. All citation-specific functionality
should go in here.
*/
class ControlCitation : public ControlCommand
{
public:
///
ControlCitation(LyXView &, Dialogs &);
/// Returns a reference to the map of stored keys
biblio::InfoMap const & bibkeysInfo() const;
private:
/// create the InfoMap of keys and data
virtual void setDaughterParams();
///
virtual void clearDaughterParams();
/// The info associated with each key
biblio::InfoMap bibkeysInfo_;
};
#endif // CONTROLCITATION_H