]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetindex.h
clear()->erase() ; lots of using directives for cxx
[lyx.git] / src / insets / insetindex.h
index 152dd6597d401780eec385d05473fe122a9f45fa..82642abd31e4eab333ca9edae8aff407e307ebc7 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.
  * 
  * ====================================================== */
 
@@ -31,17 +31,18 @@ public:
        ///
        InsetIndex() : InsetCommand("index") {}
        ///
+       explicit
        InsetIndex(string const & key);
        ///
        ~InsetIndex();
        ///
        Inset * Clone() const { return new InsetIndex(contents);}
        ///
-       void Edit(BufferView *, int, int);
+       void Edit(BufferView *, int, int, unsigned int);
        ///
-       unsigned char Editable() const
+       EDITABLE Editable() const
        {
-               return 1;
+               return IS_EDITABLE;
        }
        ///
        string getScreenLabel() const;
@@ -59,10 +60,10 @@ public:
        /// Updates needed features for this inset.
        void Validate(LaTeXFeatures & features) const;
        ///
-       void Edit(BufferView *, int, int) {}
+       void Edit(BufferView *, int, int, unsigned int) {}
        ///
-       unsigned char Editable() const{
-               return 1;
+       EDITABLE Editable() const{
+               return IS_EDITABLE;
        }
        /// WHY is clone missing? (Lgb)
        ///