X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetListings.h;h=88d380a8b2c30e159d96d4674eb0029d9a8fef24;hb=142caff8336c54627606c09d3ce5bb7de7a8adb6;hp=1e4135c3ef057380cfd1157c7f4167d36ed3c9a4;hpb=bf5a35a29322327347754bc9f9eca0a293a6060a;p=lyx.git diff --git a/src/insets/InsetListings.h b/src/insets/InsetListings.h index 1e4135c3ef..88d380a8b2 100644 --- a/src/insets/InsetListings.h +++ b/src/insets/InsetListings.h @@ -48,7 +48,7 @@ private: /// docstring name() const { return from_ascii("Listings"); } // Update the counters of this inset and of its contents - void updateLabels(ParIterator const &, bool); + void updateBuffer(ParIterator const &, UpdateType); /// void write(std::ostream & os) const; /// @@ -77,6 +77,8 @@ private: docstring const buttonLabel(BufferView const & bv) const; /// docstring getCaption(OutputParams const &) const; + /// + bool insetAllowed(InsetCode c) const { return c == CAPTION_CODE; } /// InsetListingsParams params_;