X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FExternalSupport.h;h=1000735fb9208cdaf3fedf11848152c6687fb08f;hb=667560114752e668fbd59123faf9d454da632fb0;hp=5fcbe40407048e2f56cac7807a208bfbb7378743;hpb=8b67659646c6850377cb9f44a2a0a22c0e80840c;p=lyx.git diff --git a/src/insets/ExternalSupport.h b/src/insets/ExternalSupport.h index 5fcbe40407..1000735fb9 100644 --- a/src/insets/ExternalSupport.h +++ b/src/insets/ExternalSupport.h @@ -13,13 +13,14 @@ #ifndef EXTERNALSUPPORT_H #define EXTERNALSUPPORT_H -#include "support/docstream.h" +#include "texstream.h" + +namespace lyx { class Buffer; class ExportData; class InsetExternalParams; -namespace lyx { namespace external { class Template; @@ -36,7 +37,8 @@ void editExternal(InsetExternalParams const & params, enum Substitute { ALL, PATHS, - ALL_BUT_PATHS + ALL_BUT_PATHS, + FORMATS }; /** Substitute meta-variables in string \p s, making use of \p params and @@ -59,13 +61,13 @@ std::string const doSubstitution(InsetExternalParams const & params, If \p external_in_tmpdir == true, then the generated file is place in the buffer's temporary directory. */ -int writeExternal(InsetExternalParams const &, - std::string const & format, - Buffer const &, - lyx::odocstream &, - ExportData &, - bool external_in_tmpdir, - bool external_in_comment); +void writeExternal(InsetExternalParams const &, + std::string const & format, + Buffer const &, + otexstream &, + ExportData &, + bool external_in_tmpdir, + bool dryrun); } // namespace external } // namespace lyx