]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibitem.h
Well, it turns out that we need a different return value for the xhtml
[lyx.git] / src / insets / InsetBibitem.h
index 5cc1f70c61bb156c807db15618cd8161f61d6ab4..22bf8c54a83c764e77b171e9c71f9cd295c9966b 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 const &, 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,6 +61,8 @@ private:
        ///
        int plaintext(odocstream &, OutputParams const &) const;
        ///
+       docstring xhtml(odocstream &, OutputParams const &) const;
+       ///
        virtual void fillWithBibKeys(BiblioInfo &, InsetIterator const &) const;
        /// Update the counter of this inset
        virtual void updateLabels(ParIterator const &);