]> git.lyx.org Git - features.git/blobdiff - src/insets/InsetCaptionable.h
DocBook: refactor code about retrieving captions and labels.
[features.git] / src / insets / InsetCaptionable.h
index aa9a4cc4262862dca58fd36abf71e8d9fd1e3cb8..ac11f55ca20a661b52640122b3bba828f3801f73 100644 (file)
@@ -21,6 +21,7 @@
 namespace lyx {
 
 class InsetCaption;
+class InsetLabel;
 
 class InsetCaptionable : public InsetCollapsible
 {
@@ -36,6 +37,8 @@ protected:
        ///
        InsetCaption const * getCaptionInset() const;
        ///
+       InsetLabel const * getLabelInset() const;
+       ///
        docstring getCaptionText(OutputParams const &) const;
        ///
        docstring getCaptionHTML(OutputParams const &) const;