]> git.lyx.org Git - lyx.git/blobdiff - src/Layout.h
Create mechanism to handle packages for which we only know after parsing
[lyx.git] / src / Layout.h
index f957f747304a85425b1142d2a701c54b3162c831..1db9a23a386896ac0248fb08df98c33a34506154 100644 (file)
@@ -14,6 +14,7 @@
 #ifndef LAYOUT_H
 #define LAYOUT_H
 
+#include "Encoding.h"
 #include "FontInfo.h"
 #include "LayoutEnums.h"
 #include "Spacing.h"
@@ -95,10 +96,10 @@ public:
        docstring const & preamble() const { return preamble_; }
        /// Get language dependent macro definitions needed for this layout
        /// for language \p lang
-       docstring const langpreamble(Language const * lang, bool const polyglossia) const;
+       docstring const langpreamble(Language const * lang, Encoding const & enc, bool const polyglossia) const;
        /// Get language and babel dependent macro definitions needed for
        /// this layout for language \p lang
-       docstring const babelpreamble(Language const * lang, bool const polyglossia) const;
+       docstring const babelpreamble(Language const * lang, Encoding const & enc, bool const polyglossia) const;
        ///
        std::set<std::string> const & requires() const { return requires_; }
        ///