]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetListings.h
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / insets / InsetListings.h
index 4a11607754dac21eaaff1495ea7bbc4b823d5b7a..1e4135c3ef057380cfd1157c7f4167d36ed3c9a4 100644 (file)
@@ -13,7 +13,6 @@
 #define INSET_LISTINGS_H
 
 #include "LaTeXFeatures.h"
-#include "InsetERT.h"
 #include "InsetListingsParams.h"
 
 
@@ -41,13 +40,15 @@ private:
        ///
        bool isLabeled() const { return true; }
        ///
+       bool noFontChange() const { return true; }
+       ///
        InsetCode lyxCode() const { return LISTINGS_CODE; }
        /// lstinline is inlined, normal listing is displayed
        DisplayType display() const;
        ///
        docstring name() const { return from_ascii("Listings"); }
        // Update the counters of this inset and of its contents
-       void updateLabels(ParIterator const &);
+       void updateLabels(ParIterator const &, bool);
        ///
        void write(std::ostream & os) const;
        ///
@@ -55,7 +56,7 @@ private:
        ///
        int latex(odocstream &, OutputParams const &) const;
        ///
-       docstring xhtml(odocstream &, OutputParams const &) const;
+       docstring xhtml(XHTMLStream &, OutputParams const &) const;
        ///
        void validate(LaTeXFeatures &) const;
        ///