X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Flyxlayout.h;h=2d12777bf6b48d09114c234b1393a92627c7f219;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=324bd3c028efbaac59eb7cb6023f803ef3294bea;hpb=862f6396954587b2b4c173682f4d861fdca0e78f;p=lyx.git diff --git a/src/lyxlayout.h b/src/lyxlayout.h index 324bd3c028..2d12777bf6 100644 --- a/src/lyxlayout.h +++ b/src/lyxlayout.h @@ -21,6 +21,9 @@ #include + +namespace lyx { + class LyXLex; class LyXTextClass; @@ -60,7 +63,7 @@ public: /// lyx::docstring const & endlabelstring() const { return endlabelstring_; } /// - std::string const & preamble() const { return preamble_; } + docstring const & preamble() const { return preamble_; } /// std::string const & latexparam() const { return latexparam_; } /// @@ -223,7 +226,10 @@ private: /// Internal tag to surround the item text in a list) std::string itemtag_; /// Macro definitions needed for this layout - std::string preamble_; + docstring preamble_; }; + +} // namespace lyx + #endif