* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
- * Copyright 1996-1999 the LyX Team.
+ * Copyright 1996-2000 the LyX Team.
*
* ====================================================== */
#include "insetcommand.h"
#include "gettext.h"
-// Created by Bernhard 970807
+class Buffer;
/** Used to insert table of algorithms
*/
///
InsetLOA() : InsetCommand("listofalgorithms") {}
///
+ explicit
InsetLOA(Buffer * b) : InsetCommand("listofalgorithms"), owner(b) {}
///
void Validate(LaTeXFeatures & features) const;
///
Inset * Clone() const { return new InsetLOA(owner); }
///
- string getScreenLabel() const { return _("List of Algorithms"); }
+ string getScreenLabel() const;
///
- unsigned char Editable() const {
- return 0; // not yet
+ EDITABLE Editable() const {
+ return NOT_EDITABLE; // not yet
}
///
bool display() const { return true; }