]> 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 b4905bf0b06950ecd14e9016be271f4d5b08a0db..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,6 +31,7 @@ public:
        ///
        InsetIndex() : InsetCommand("index") {}
        ///
+       explicit
        InsetIndex(string const & key);
        ///
        ~InsetIndex();
@@ -39,9 +40,9 @@ public:
        ///
        void Edit(BufferView *, int, int, unsigned int);
        ///
-       unsigned char Editable() const
+       EDITABLE Editable() const
        {
-               return 1;
+               return IS_EDITABLE;
        }
        ///
        string getScreenLabel() const;
@@ -61,8 +62,8 @@ public:
        ///
        void Edit(BufferView *, int, int, unsigned int) {}
        ///
-       unsigned char Editable() const{
-               return 1;
+       EDITABLE Editable() const{
+               return IS_EDITABLE;
        }
        /// WHY is clone missing? (Lgb)
        ///