mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-11 13:46:43 +00:00
89885b5fa1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@864 a592a061-630c-0410-9148-cb99ea01b6c8
43 lines
858 B
C++
43 lines
858 B
C++
// -*- C++ -*-
|
|
/* This file is part of*
|
|
* ======================================================
|
|
*
|
|
* LyX, The Document Processor
|
|
*
|
|
* Copyright 2000 The LyX Team.
|
|
*
|
|
* ====================================================== */
|
|
|
|
#ifndef INSET_CITE_H
|
|
#define INSET_CITE_H
|
|
|
|
#ifdef __GNUG__
|
|
#pragma interface
|
|
#endif
|
|
|
|
#include "insetcommand.h"
|
|
|
|
/** Used to insert citations
|
|
*/
|
|
class InsetCitation: public InsetCommand {
|
|
public:
|
|
///
|
|
explicit
|
|
InsetCitation(string const & key, string const & note = string());
|
|
///
|
|
Inset * Clone() const {
|
|
return new InsetCitation(getContents(), getOptions());
|
|
}
|
|
///
|
|
string getScreenLabel() const;
|
|
///
|
|
Code LyxCode() const { return CITATION_CODE; }
|
|
///
|
|
EDITABLE Editable() const { return IS_EDITABLE; }
|
|
private:
|
|
///
|
|
InsetCitation() : InsetCommand("cite") {}
|
|
};
|
|
|
|
#endif // INSET_CITE_H
|