// -*- C++ -*-
/* This file is part of*
- * ======================================================
+ * ======================================================
*
* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
* Copyright 1996-1999 the LyX Team.
*
- * ======================================================*/
+ * ====================================================== */
#ifndef INSET_INDEX_H
#define INSET_INDEX_H
class InsetIndex: public InsetCommand {
public:
///
- InsetIndex(): InsetCommand("index") {;}
+ InsetIndex() : InsetCommand("index") {}
///
InsetIndex(string const & key);
///
~InsetIndex();
///
- Inset * Clone() { return new InsetIndex(contents);}
+ Inset * Clone() const { return new InsetIndex(contents);}
///
void Edit(int, int);
///
};
-class InsetPrintIndex: public InsetCommand {
+class InsetPrintIndex : public InsetCommand {
public:
///
InsetPrintIndex();
unsigned char Editable() const{
return 1;
}
+ /// WHY is clone missing? (Lgb)
///
- bool Display() const { return true; }
+ bool display() const { return true; }
///
Inset::Code LyxCode() const;
///