]> git.lyx.org Git - lyx.git/blobdiff - src/insets/ExternalSupport.h
Remove TextClassPtr without losing the type safety it provided.
[lyx.git] / src / insets / ExternalSupport.h
index e2a8d66b00f65d636ee90880bc7de6f3ed45b769..9c282e8418c291af01fb9fc1515d9b54223cf20d 100644 (file)
 #ifndef EXTERNALSUPPORT_H
 #define EXTERNALSUPPORT_H
 
-#include <iosfwd>
-#include <string>
+#include "support/docstream.h"
+
+namespace lyx {
 
 class Buffer;
 class ExportData;
 class InsetExternalParams;
 
-namespace lyx {
 namespace external {
 
 class Template;
@@ -63,10 +63,10 @@ std::string const doSubstitution(InsetExternalParams const & params,
 int writeExternal(InsetExternalParams const &,
                  std::string const & format,
                  Buffer const &,
-                 std::ostream &,
+                 odocstream &,
                  ExportData &,
                  bool external_in_tmpdir,
-                 bool external_in_comment);
+                 bool dryrun);
 
 } // namespace external
 } // namespace lyx