* LyX, The Document Processor
*
* Copyright 1995 Matthias Ettrich
- * Copyright 1996-1999 the LyX Team.
+ * Copyright 1996-2000 the LyX Team.
*
* ====================================================== */
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") {}
///
+ explicit
InsetIndex(string const & key);
///
~InsetIndex();
///
- Inset * Clone() const { return new InsetIndex(contents);}
+ Inset * Clone() const { return new InsetIndex(getContents());}
///
void Edit(BufferView *, int, int, unsigned int);
///
}
///
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;
///