]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibtex.h
InsetListings: change the interface of diaplay function and allow AlignLeft. Applied...
[lyx.git] / src / insets / InsetBibtex.h
index 59b61c5e82bfbf3526d29cffaf109f4efa30b6e8..94f8836ec14dc64e0b817fb2e9196df154faa8a5 100644 (file)
@@ -16,7 +16,7 @@
 #include <vector>
 #include "InsetCommand.h"
 
-#include "support/filename.h"
+#include "support/FileName.h"
 
 
 namespace lyx {
@@ -32,9 +32,9 @@ public:
        ///
        EDITABLE editable() const { return IS_EDITABLE; }
        ///
-       InsetBase::Code lyxCode() const { return InsetBase::BIBTEX_CODE; }
+       Inset::Code lyxCode() const { return Inset::BIBTEX_CODE; }
        ///
-       bool display() const { return true; }
+       DisplayType display() const { return AlignCenter; }
        ///
        int latex(Buffer const &, odocstream &, OutputParams const &) const;
        ///
@@ -49,9 +49,9 @@ public:
        ///
        void validate(LaTeXFeatures &) const;
 protected:
-       virtual void doDispatch(LCursor & cur, FuncRequest & cmd);
+       virtual void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
-       virtual std::auto_ptr<InsetBase> doClone() const;
+       virtual std::auto_ptr<Inset> doClone() const;
 
 };