]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibitem.h
* InsetCollapsable:
[lyx.git] / src / insets / InsetBibitem.h
index 22da0eaf9c2f61b9bb67d479de2fa638b0e1d45b..b0b1121a36bb7df593dbc3db01d8694f6aa34f48 100644 (file)
@@ -35,7 +35,7 @@ public:
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       Inset::Code lyxCode() const { return Inset::BIBITEM_CODE; }
+       InsetCode lyxCode() const { return BIBITEM_CODE; }
        ///
        docstring const getBibLabel() const;
        ///
@@ -45,7 +45,13 @@ public:
                BiblioInfo &, InsetIterator const &) const;
        /// Update the counter of this inset
        virtual void updateLabels(Buffer const &, ParIterator const &);
-
+       ///
+       static CommandInfo const * findInfo(std::string const &);
+       ///
+       static std::string defaultCommand() { return "bibitem"; };
+       ///
+       static bool isCompatibleCommand(std::string const & s) 
+               { return s == "bibitem"; }
 protected:
        ///
        virtual void doDispatch(Cursor & cur, FuncRequest & cmd);