#endif
#include "insetcommand.h"
-#include "support/utility.hpp"
struct LaTeXFeatures;
/** Used to insert index labels
*/
-class InsetIndex : public InsetCommand, public noncopyable {
+class InsetIndex : public InsetCommand {
public:
///
InsetIndex(InsetCommandParams const &);
///
- Inset * Clone() const { return new InsetIndex(params());}
+ Inset * Clone(Buffer const &) const {
+ return new InsetIndex(params());
+ }
///
- string getScreenLabel() const;
+ string const getScreenLabel() const;
///
EDITABLE Editable() const { return IS_EDITABLE; }
///
};
-class InsetPrintIndex : public InsetCommand, public noncopyable {
+class InsetPrintIndex : public InsetCommand {
public:
///
InsetPrintIndex(InsetCommandParams const &);
///
- Inset * Clone() const { return new InsetPrintIndex(params());}
+ Inset * Clone(Buffer const &) const {
+ return new InsetPrintIndex(params());
+ }
/// Updates needed features for this inset.
void Validate(LaTeXFeatures & features) const;
///
///
Inset::Code LyxCode() const;
///
- string getScreenLabel() const;
+ string const getScreenLabel() const;
};
#endif