X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLayout.h;h=fa4bdc2da23f3f8da951ee5bf071e82ad0101689;hb=6b651f2ad9f698c01993dcc6e340682c279f1c55;hp=0e4943dab1b5efbddc5789f11eb6457191f69fcc;hpb=5ddc612b735317d5b22553a63aad7879503e3950;p=lyx.git diff --git a/src/Layout.h b/src/Layout.h index 0e4943dab1..fa4bdc2da2 100644 --- a/src/Layout.h +++ b/src/Layout.h @@ -19,6 +19,9 @@ #include "Spacing.h" #include "support/docstring.h" +#include +#include + namespace lyx { class Lexer; @@ -81,6 +84,8 @@ public: /// docstring const & preamble() const { return preamble_; } /// + std::set const & requires() const { return requires_; } + /// std::string const & latexparam() const { return latexparam_; } /// std::string const & innertag() const { return innertag_; } @@ -250,6 +255,8 @@ private: std::string itemtag_; /// Macro definitions needed for this layout docstring preamble_; + /// Packages needed for this layout + std::set requires_; }; } // namespace lyx