]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.h
Use home made code for the bool facet.
[lyx.git] / src / insets / InsetCitation.h
index f0fd1d7a732cf44b37918f8adcdedbc571c8a271..e705fcb6bdd65dcb8706105442558c8fcd47498d 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "InsetCommand.h"
 
-#include "frontends/controllers/biblio.h"
+#include "frontends/controllers/frontend_helpers.h"
 
 
 namespace lyx {
@@ -33,16 +33,16 @@ public:
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       InsetBase::Code lyxCode() const { return InsetBase::CITE_CODE; }
+       Inset::Code lyxCode() const { return Inset::CITE_CODE; }
        ///
        int latex(Buffer const &, odocstream &,
-                 OutputParams const &) const;
+                 OutputParams const &) const;
        ///
        int plaintext(Buffer const &, odocstream &,
-                     OutputParams const &) const;
+                     OutputParams const &) const;
        ///
        int docbook(Buffer const &, odocstream &,
-                   OutputParams const &) const;
+                   OutputParams const &) const;
        /// the string that is passed to the TOC
        virtual int textString(Buffer const &, odocstream &,
                OutputParams const &) const;
@@ -52,9 +52,9 @@ public:
        void replaceContents(std::string const & from, std::string const & to);
 
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const
+       virtual std::auto_ptr<Inset> doClone() const
        {
-               return std::auto_ptr<InsetBase>(new InsetCitation(params()));
+               return std::auto_ptr<Inset>(new InsetCitation(params()));
        }
 
        /// This function does the donkey work of creating the pretty label