X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fexporter.h;h=ec1c9d6495fdbae61cce1e21eee08f82de6a42e8;hb=35204f8f33d7400a5fefeffea533fb4cb4097211;hp=9bd2d038aca805b2b610a5de3e09617c75e1c80b;hpb=c9f9ba315c8e475ad47c64fef6c9c755dea3d55c;p=lyx.git diff --git a/src/exporter.h b/src/exporter.h index 9bd2d038ac..ec1c9d6495 100644 --- a/src/exporter.h +++ b/src/exporter.h @@ -18,6 +18,9 @@ #include +namespace lyx { + + class Buffer; class Format; @@ -33,14 +36,14 @@ public: bool put_in_tempdir); /// static - bool Preview(Buffer * buffer, std::string const & format); + bool preview(Buffer * buffer, std::string const & format); /// static - bool IsExportable(Buffer const & buffer, std::string const & format); + bool isExportable(Buffer const & buffer, std::string const & format); /// static std::vector const - GetExportableFormats(Buffer const & buffer, bool only_viewable); + getExportableFormats(Buffer const & buffer, bool only_viewable); /// }; @@ -73,15 +76,15 @@ public: * or relative to the exported document. */ void addExternalFile(std::string const & format, - std::string const & sourceName, - std::string const & exportName); + std::string const & sourceName, + std::string const & exportName); /** add a referenced file for one format. * The final name is the source file name without path. * \param format format that references the given file * \param sourceName source file name. Needs to be absolute */ void addExternalFile(std::string const & format, - std::string const & sourceName); + std::string const & sourceName); /// get referenced files for \p format std::vector const externalFiles(std::string const & format) const; @@ -93,4 +96,7 @@ private: FileMap externalfiles; }; + +} // namespace lyx + #endif