void read(Buffer const &, Lexer &);
///
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;
///
void validate(LaTeXFeatures &) const;
///
void addPreview(graphics::PreviewLoader &) const;
///
- void addToToc(TocList &, Buffer const &) const;
- ///
- void updateLabels(Buffer const & buffer) const;
+ void addToToc(TocList &, Buffer const &, ParConstIterator const &) const;
///
bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
- /// if this inset contains lstinputlisting and has a caption,
- /// update internal counter and passed counter
- void updateCounter(Counters & counters);
+ ///
+ void updateLabels(Buffer const & buffer, ParIterator const &) const;
protected:
InsetInclude(InsetInclude const &);
///
/// cache
mutable bool set_label_;
mutable RenderButton button_;
- int counter_;
+ mutable docstring listings_label_;
};