]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibitem.h
How about if we write a script to do some of this and stop doing it
[lyx.git] / src / insets / InsetBibitem.h
index 5cc1f70c61bb156c807db15618cd8161f61d6ab4..cdbd857873f84130a8dd306e9e073c8472a9dfb6 100644 (file)
@@ -12,8 +12,8 @@
 #ifndef INSET_BIBITEM_H
 #define INSET_BIBITEM_H
 
-#include "InsetCommand.h"
 #include "BiblioInfo.h"
+#include "InsetCommand.h"
 
 
 namespace lyx {
@@ -32,7 +32,9 @@ class InsetBibitem : public InsetCommand
 {
 public:
        ///
-       InsetBibitem(InsetCommandParams const &);
+       InsetBibitem(Buffer *, InsetCommandParams const &);
+       ///
+       virtual ~InsetBibitem();
        ///
        static ParamInfo const & findInfo(std::string const &);
        ///
@@ -51,7 +53,7 @@ private:
        ///
        docstring screenLabel() const;
        ///
-       EDITABLE editable() const { return IS_EDITABLE; }
+       bool hasSettings() const { return true; }
        ///
        InsetCode lyxCode() const { return BIBITEM_CODE; }
        ///
@@ -59,9 +61,11 @@ private:
        ///
        int plaintext(odocstream &, OutputParams const &) const;
        ///
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
+       ///
        virtual void fillWithBibKeys(BiblioInfo &, InsetIterator const &) const;
        /// Update the counter of this inset
-       virtual void updateLabels(ParIterator const &);
+       virtual void updateLabels(ParIterator const &, bool);
        ///
        void updateCommand(docstring const & new_key, bool dummy = false);
        ///