X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetloa.h;h=0a4254a2832f5419fceca5a98e714b06caf47770;hb=3c8aba3b556871fb1100a2f98cd93d5d4e3f70c9;hp=27757f4a00da0f6504d4a6c11584d92ce8807994;hpb=65b49997597efd5a5ba920c739ba6cd8384e1eeb;p=lyx.git diff --git a/src/insets/insetloa.h b/src/insets/insetloa.h index 27757f4a00..0a4254a283 100644 --- a/src/insets/insetloa.h +++ b/src/insets/insetloa.h @@ -5,7 +5,7 @@ * LyX, The Document Processor * * Copyright 1995 Matthias Ettrich - * Copyright 1996-1999 the LyX Team. + * Copyright 1996-2000 the LyX Team. * * ====================================================== */ @@ -19,7 +19,7 @@ #include "insetcommand.h" #include "gettext.h" -// Created by Bernhard 970807 +class Buffer; /** Used to insert table of algorithms */ @@ -28,17 +28,18 @@ public: /// 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; }