]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
* Doxy: polish html output.
[lyx.git] / src / Layout.h
index 0e4943dab1b5efbddc5789f11eb6457191f69fcc..fa4bdc2da23f3f8da951ee5bf071e82ad0101689 100644 (file)
@@ -19,6 +19,9 @@
 #include "Spacing.h"
 #include "support/docstring.h"
 
+#include <set>
+#include <string>
+
 namespace lyx {
 
 class Lexer;
@@ -81,6 +84,8 @@ public:
        ///
        docstring const & preamble() const { return preamble_; }
        ///
+       std::set<std::string> 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<std::string> requires_;
 };
 
 } // namespace lyx