]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibtex.h
Move isMultiCell() to Cursor, and use it.
[lyx.git] / src / insets / InsetBibtex.h
index 64cab78beac8b478bc4aec91cf3dc6e0a9edf4e6..ad6e064e712ef58d418a065b415f1f4ddffd287e 100644 (file)
@@ -26,10 +26,14 @@ namespace lyx {
 class InsetBibtex : public InsetCommand {
 public:
        ///
-       InsetBibtex(InsetCommandParams const &);
+       InsetBibtex(Buffer const &, InsetCommandParams const &);
+       ///
+       virtual ~InsetBibtex();
        ///
        docstring screenLabel() const;
        ///
+       docstring toolTip(BufferView const & bv, int x, int y) const;
+       ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
        InsetCode lyxCode() const { return BIBTEX_CODE; }
@@ -57,10 +61,17 @@ public:
        /// look up the path to the file using TeX
        static support::FileName 
                getBibTeXPath(docstring const & filename, Buffer const & buf);
+       ///
+       docstring contextMenu(BufferView const &, int, int) const;
 private:
        ///
        void doDispatch(Cursor & cur, FuncRequest & cmd);
        ///
+       bool getStatus(Cursor & cur, FuncRequest const & cmd,
+               FuncStatus & flag) const;
+       ///
+       void editDatabases() const;
+       ///
        Inset * clone() const { return new InsetBibtex(*this); }
 };