#include "insetcommand.h"
class Buffer;
-struct FD_bibitem_form;
/** Used to insert bibitem's information (key and label)
///
~InsetBibKey();
///
- Inset * Clone() const;
+ Inset * Clone(Buffer const &) const;
/** Currently \bibitem is used as a LyX2.x command,
so we need this method.
*/
///
int getCounter() const { return counter; }
///
- void callback( FD_bibitem_form *, long );
+ string const getBibLabel() const;
///
struct Holder {
InsetBibKey * inset;
int counter;
///
Holder holder;
+ ///
+ static int key_counter;
};
///
~InsetBibtex();
///
- Inset * Clone() const { return new InsetBibtex(params()); }
+ Inset * Clone(Buffer const &) const {
+ return new InsetBibtex(params());
+ }
///
string const getScreenLabel() const;
///