]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsConverter.h
Remove obsolete (and false) comment.
[lyx.git] / src / graphics / GraphicsConverter.h
index f84b9e9b11b5e7cdcaffabff9a205948d8b8358f..c038029bd8f99b61559fbfc7b0447e4aab4d9cb0 100644 (file)
@@ -17,7 +17,8 @@
 #ifndef GRAPHICSCONVERTER_H
 #define GRAPHICSCONVERTER_H
 
-#include <boost/signal.hpp>
+#include "support/signals.h"
+
 
 namespace lyx {
 
@@ -34,7 +35,8 @@ public:
        /** One Converter per conversion ensures that the (hidden) signal
         *  is always connected to the expected slot.
         */
-       Converter(support::FileName const & from_file, std::string const & to_file_base,
+       Converter(support::FileName const & doc_fname,
+                 support::FileName const & from_file, std::string const & to_file_base,
                  std::string const & from_format, std::string const & to_format);
 
        /// Needed for the pimpl
@@ -45,14 +47,15 @@ public:
 
        /** Connect and you'll be informed when the conversion process has
         *  finished.
-        *  If the conversion is succesful, then the listener is passed \c true.
+        *  If the conversion is successful, then the listener is passed \c true.
+        *  The connection is closed when this is destroyed.
         */
-       typedef boost::signal<void(bool)> sig_type;
+       typedef signals2::signal<void(bool)> sig_type;
        typedef sig_type::slot_type slot_type;
        ///
-       boost::signals::connection connect(slot_type const &) const;
+       signals2::connection connect(slot_type const &) const;
 
-       /** If the conversion is succesful, this returns the name of the
+       /** If the conversion is successful, this returns the name of the
         *  resulting file.
         *  If conversion fails or has not been completed, however, it
         *  returns an empty string.