]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetloa.h
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / insetloa.h
index 3655d3ac1cb5bef1847b53b408d5af29d7f4e565..0a4254a2832f5419fceca5a98e714b06caf47770 100644 (file)
@@ -5,7 +5,7 @@
  *           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
  */
-class InsetLOA: public InsetCommand {
+class InsetLOA : public InsetCommand {
 public:
        ///
-       InsetLOA(): InsetCommand("listofalgorithms") {}
+       InsetLOA() : InsetCommand("listofalgorithms") {}
        ///
-       InsetLOA(Buffer * b): InsetCommand("listofalgorithms"), owner(b) {}
+       explicit
+       InsetLOA(Buffer * b) : InsetCommand("listofalgorithms"), owner(b) {}
         ///
        void Validate(LaTeXFeatures & features) const;
         ///
-        Inset * Clone() { return new InsetLOA(owner); }
+        Inset * Clone() const { return new InsetLOA(owner); }
        ///
-       string getScreenLabel() const { return _("List of Algorithms"); }
+       string getScreenLabel() const;
 
-       
-       //void Edit(int, int);
         ///
-       unsigned char Editable() const {
-               return 0; // not yet
+       EDITABLE Editable() const {
+               return NOT_EDITABLE; // not yet
        }
        ///
-       bool Display() const { return true; }
+       bool display() const { return true; }
        ///
        Inset::Code LyxCode() const { return Inset::LOA_CODE; }
 private: