lyx_mirror/src/insets/insetcite.h
Jürgen Vigna 89885b5fa1 Anguses patch + some modifications for smart? inset-update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@864 a592a061-630c-0410-9148-cb99ea01b6c8
2000-07-07 07:46:37 +00:00

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