X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLaTeXFeatures.h;h=48524f30a26070ba29bc164fddcea52848df84f1;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=b5e8ae9a83a91ff4a453b0cba66ed61a26230768;hpb=3b9338a3a8ba33fbbdf2c77cbffb3ff50d8fad86;p=lyx.git diff --git a/src/LaTeXFeatures.h b/src/LaTeXFeatures.h index b5e8ae9a83..48524f30a2 100644 --- a/src/LaTeXFeatures.h +++ b/src/LaTeXFeatures.h @@ -15,12 +15,16 @@ #include "outputparams.h" +#include "support/docstring.h" #include #include #include #include + +namespace lyx { + class Buffer; class BufferParams; class Language; @@ -50,13 +54,13 @@ public: /// std::string const getBabelOptions() const; /// The definitions needed by the document's textclass - std::string const getTClassPreamble() const; - /// The sgml definitions needed by the document (dobook/linuxdoc) - std::string const getLyXSGMLEntities() const; + docstring const getTClassPreamble() const; + /// The sgml definitions needed by the document (docbook) + docstring const getLyXSGMLEntities() const; /// The SGML Required to include the files added with includeFile(); - std::string const getIncludedFiles(std::string const & fname) const; + docstring const getIncludedFiles(std::string const & fname) const; /// Include a file for use with the SGML entities - void includeFile(std::string const & key, std::string const & name); + void includeFile(docstring const & key, std::string const & name); /// The float definitions. void getFloatDefinitions(std::ostream & os) const; /// Print requirements to lyxerr @@ -116,7 +120,7 @@ private: /// UsedFloats usedFloats_; /// - typedef std::map FileMap; + typedef std::map FileMap; /// FileMap IncludedFiles_; /** Buffer of the file being processed. @@ -133,4 +137,7 @@ private: OutputParams const & runparams_; }; + +} // namespace lyx + #endif