X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2Finsetbib.h;h=e51b236deaf9dfa610932c7067697f6cad72947f;hb=4a5b7a5952ad2381fcdf4830511293e184c7c5a1;hp=4dbd137305f53be11b21b1595db93056f94bd706;hpb=7521b5d20f42102cf444e3fd8718a088a60d0098;p=lyx.git diff --git a/src/insets/insetbib.h b/src/insets/insetbib.h index 4dbd137305..e51b236dea 100644 --- a/src/insets/insetbib.h +++ b/src/insets/insetbib.h @@ -41,21 +41,21 @@ public: /// void read(Buffer const *, LyXLex & lex); /// - virtual string const getScreenLabel() const; - /// + virtual string const getScreenLabel(Buffer const *) const; + /// void edit(BufferView *, int x, int y, unsigned int button); /// - EDITABLE editable() const { - return IS_EDITABLE; - } + void edit(BufferView * bv, bool front = true); + /// + EDITABLE editable() const { return IS_EDITABLE; } /// A user can't neither insert nor delete this inset bool deletable() const { return false; } - /// - void setCounter(int); - /// - int getCounter() const { return counter; } + /// + void setCounter(int); + /// + int getCounter() const { return counter; } /// string const getBibLabel() const; /// @@ -66,7 +66,7 @@ public: private: /// - int counter; + int counter; /// Holder holder; /// @@ -87,22 +87,26 @@ public: return new InsetBibtex(params(), same_id); } /// - string const getScreenLabel() const; + string const getScreenLabel(Buffer const *) const; /// EDITABLE editable() const { return IS_EDITABLE; } /// Inset::Code lyxCode() const { return Inset::BIBTEX_CODE; } /// void edit(BufferView *, int x, int y, unsigned int button); + /// + void edit(BufferView * bv, bool front = true); /// int latex(Buffer const *, std::ostream &, - bool fragile, bool freespace) const; + bool fragile, bool freespace) const; /// std::vector > const getKeys(Buffer const *) const; - /// - bool addDatabase(string const &); - /// - bool delDatabase(string const &); + /// + std::vector const getFiles(Buffer const &) const; + /// + bool addDatabase(string const &); + /// + bool delDatabase(string const &); /// bool display() const { return true; } ///