mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-13 14:32:04 +00:00
cda84cbcdf
Moved Citation and Character helper functions into their own namespaces. Fixed bugs in Minipage controller. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@1843 a592a061-630c-0410-9148-cb99ea01b6c8
47 lines
1010 B
C++
47 lines
1010 B
C++
/* 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
|