#endif
#include "insetcommand.h"
-#include "support/utility.hpp"
/** Used to insert citations
*/
-class InsetCitation : public InsetCommand, public noncopyable {
+class InsetCitation : public InsetCommand {
public:
///
InsetCitation(InsetCommandParams const &);
///
- Inset * Clone() const { return new InsetCitation(params()); }
+ Inset * Clone(Buffer const &) const {
+ return new InsetCitation(params());
+ }
///
- string getScreenLabel() const;
+ string const getScreenLabel() const;
///
EDITABLE Editable() const { return IS_EDITABLE; }
+ ///
+ Inset::Code LyxCode() const { return Inset::CITE_CODE; }
///
void Edit(BufferView *, int, int, unsigned int);
};