]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetlof.h
Just some changes to be able to change TabularFeatures with the Table menu
[lyx.git] / src / insets / insetlof.h
index ee95d46c394186cb010528e8725177c156c45337..20e9790c5d0dbd08c11683e5747da88856c17cf3 100644 (file)
@@ -5,22 +5,22 @@
  *           LyX, The Document Processor
  *      
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1996-1999 the LyX Team.
+ *           Copyright 1996-2000 the LyX Team.
  * 
  * ====================================================== */
 
 #ifndef INSET_LOF_H
 #define INSET_LOF_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "insetcommand.h"
 #include "gettext.h"
 
 // Created by Lgb 970527
 
+#ifdef __GNUG__
+#pragma interface
+#endif
+
 /** Used to insert table of contents
  */
 class InsetLOF : public InsetCommand {
@@ -28,15 +28,16 @@ public:
        ///
        InsetLOF() : InsetCommand("listoffigures") {}
        ///
+       explicit
        InsetLOF(Buffer * b) : InsetCommand("listoffigures"), owner(b) {}
         ///
         Inset * Clone() const { return new InsetLOF(owner); }
        ///
-       string getScreenLabel() const { return _("List of Figures"); }
+       string getScreenLabel() const;
         
         ///
-       unsigned char Editable() const {
-               return 0; // not yet
+       EDITABLE Editable() const {
+               return NOT_EDITABLE; // not yet
        }
        ///
        bool display() const { return true; }