X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fexporter.h;h=22c01ef6b9c4eb70885563ec824b4e786bea8116;hb=b02d655347adec5e866e5014f4656b47e09cd269;hp=0ddf29e10313ba1e943cd1a3503fe49c5652a4de;hpb=cf4293824f406c03e940bed6bf7274b57629a857;p=lyx.git diff --git a/src/exporter.h b/src/exporter.h index 0ddf29e103..22c01ef6b9 100644 --- a/src/exporter.h +++ b/src/exporter.h @@ -13,11 +13,16 @@ #ifndef EXPORTER_H #define EXPORTER_H +#include "support/filename.h" + #include #include #include +namespace lyx { + + class Buffer; class Format; @@ -47,9 +52,9 @@ public: class ExportedFile { public: - ExportedFile(std::string const &, std::string const &); + ExportedFile(support::FileName const &, std::string const &); /// absolute name of the source file - std::string sourceName; + support::FileName sourceName; /// final name that the exported file should get (absolute name or /// relative to the directory of the master document) std::string exportName; @@ -73,7 +78,7 @@ public: * or relative to the exported document. */ void addExternalFile(std::string const & format, - std::string const & sourceName, + support::FileName const & sourceName, std::string const & exportName); /** add a referenced file for one format. * The final name is the source file name without path. @@ -81,7 +86,7 @@ public: * \param sourceName source file name. Needs to be absolute */ void addExternalFile(std::string const & format, - std::string const & sourceName); + support::FileName const & sourceName); /// get referenced files for \p format std::vector const externalFiles(std::string const & format) const; @@ -93,4 +98,7 @@ private: FileMap externalfiles; }; + +} // namespace lyx + #endif