]> git.lyx.org Git - features.git/blobdiff - src/insets/insetindex.h
read the Changelog
[features.git] / src / insets / insetindex.h
index 82642abd31e4eab333ca9edae8aff407e307ebc7..50a2e4cf20cd0dbf3a9f0237df64c461b83a04b7 100644 (file)
 
 class Buffer;
 struct LaTeXFeatures;
+struct FD_index_form;
 
 // Created by Lgb 970227
 
 
 /** Used to insert index labels  
   */
-class InsetIndex: public InsetCommand {
+class InsetIndex : public InsetCommand {
 public:
        ///
        InsetIndex() : InsetCommand("index") {}
@@ -36,7 +37,7 @@ public:
        ///
        ~InsetIndex();
        ///
-       Inset * Clone() const { return new InsetIndex(contents);}
+       Inset * Clone() const { return new InsetIndex(getContents());}
        ///
        void Edit(BufferView *, int, int, unsigned int);
        ///
@@ -46,17 +47,31 @@ public:
        }
        ///
        string getScreenLabel() const;
+       ///
+       void callback( FD_index_form *, long );
+       ///
+       struct Holder {
+               InsetIndex * inset;
+               BufferView * view;
+       };
+ private:
+       ///
+       Holder holder;
 };
 
 
 class InsetPrintIndex : public InsetCommand {
 public:
+#if 0
        ///
        InsetPrintIndex();
+#endif
        ///
        InsetPrintIndex(Buffer *);
+#if 0
        ///
        ~InsetPrintIndex();
+#endif
        /// Updates needed features for this inset.
        void Validate(LaTeXFeatures & features) const;
        ///