]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalSupport.h
Fix a number of other uninitialized members.
[lyx.git] / src / insets / ExternalSupport.h
index 5fcbe40407048e2f56cac7807a208bfbb7378743..1000735fb9208cdaf3fedf11848152c6687fb08f 100644 (file)
 #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