X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetLayout.h;h=cf5647dbc39b1132e8719acbf9573b7f15197b18;hb=cfeddb92;hp=2ef6be4fdfb30f4a47dde10ebdcb9c7d6dbdf227;hpb=f47361c4db69c7de87471d15cb0156d2bc0cdda8;p=lyx.git diff --git a/src/insets/InsetLayout.h b/src/insets/InsetLayout.h index 2ef6be4fdf..cf5647dbc3 100644 --- a/src/insets/InsetLayout.h +++ b/src/insets/InsetLayout.h @@ -175,6 +175,8 @@ public: bool isDisplay() const { return display_; } /// bool forcelocalfontswitch() const { return forcelocalfontswitch_; } + /// + docstring const & obsoleted_by() const { return obsoleted_by_; } private: /// void makeDefaultCSS() const; @@ -277,6 +279,11 @@ private: bool display_; /// bool forcelocalfontswitch_; + /** Name of an insetlayout that has replaced this insetlayout. + This is used to rename an insetlayout, while keeping backward + compatibility + */ + docstring obsoleted_by_; /// Layout::LaTeXArgMap latexargs_; ///