]> git.lyx.org Git - lyx.git/blobdiff - src/converter.h
* Painter.h:
[lyx.git] / src / converter.h
index d2bf17328748281e16b5aa8b3b949de9c9f944e1..7f941187d657fd90aa5e4a9cc631eb14eacd2b4c 100644 (file)
 #include <string>
 
 
+namespace lyx {
+
+
 class Buffer;
+class ErrorList;
 class Format;
 class Formats;
 class OutputParams;
@@ -107,12 +111,13 @@ public:
        bool convert(Buffer const * buffer,
                     std::string const & from_file, std::string const & to_file_base,
                     std::string const & from_format, std::string const & to_format,
-                    std::string & to_file, bool try_default = false);
+                    std::string & to_file, ErrorList & errorList,
+                        bool try_default = false);
        ///
        bool convert(Buffer const * buffer,
                     std::string const & from_file, std::string const & to_file_base,
                     std::string const & from_format, std::string const & to_format,
-                    bool try_default = false);
+                        ErrorList & errorList, bool try_default = false);
        ///
        void update(Formats const & formats);
        ///
@@ -134,10 +139,10 @@ private:
        intToFormat(std::vector<int> const & input);
        ///
        bool scanLog(Buffer const & buffer, std::string const & command,
-                    std::string const & filename);
+                    std::string const & filename, ErrorList & errorList);
        ///
        bool runLaTeX(Buffer const & buffer, std::string const & command,
-                     OutputParams const &);
+                     OutputParams const &, ErrorList & errorList);
        ///
        ConverterList converterlist_;
        ///
@@ -155,4 +160,7 @@ extern Converters converters;
 
 extern Converters system_converters;
 
+
+} // namespace lyx
+
 #endif //CONVERTER_H