#define INSET_LISTINGS_H
#include "LaTeXFeatures.h"
-#include "InsetERT.h"
#include "InsetListingsParams.h"
///
docstring name() const { return from_ascii("Listings"); }
// Update the counters of this inset and of its contents
- void updateLabels(ParIterator const &);
+ void updateBuffer(ParIterator const &, UpdateType);
///
void write(std::ostream & os) const;
///
///
int latex(odocstream &, OutputParams const &) const;
///
- docstring xhtml(odocstream &, OutputParams const &) const;
+ docstring xhtml(XHTMLStream &, OutputParams const &) const;
///
void validate(LaTeXFeatures &) const;
///
docstring const buttonLabel(BufferView const & bv) const;
///
docstring getCaption(OutputParams const &) const;
+ ///
+ bool insetAllowed(InsetCode c) const { return c == CAPTION_CODE; }
///
InsetListingsParams params_;