namespace lyx {
+class Language;
class Lexer;
class TextClass;
docstring const & category() const { return category_; }
///
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) const;
+ /// Get language and babel dependent macro definitions needed for
+ /// this layout for language \p lang
+ docstring const babelpreamble(Language const * lang) const;
///
std::set<std::string> const & requires() const { return requires_; }
///
docstring category_;
/// Macro definitions needed for this layout
docstring preamble_;
+ /// Language dependent macro definitions needed for this layout
+ docstring langpreamble_;
+ /// Language and babel dependent macro definitions needed for this layout
+ docstring babelpreamble_;
/// Packages needed for this layout
std::set<std::string> requires_;
};