X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraphics%2FGraphicsConverter.h;h=c038029bd8f99b61559fbfc7b0447e4aab4d9cb0;hb=44dc38e120e04b7a6b1d275ff8e2f69993739b31;hp=838b07bfc7d3e949958b9b3c9049ce4f8e2eb136;hpb=0a34b1e047ae8e1c0a5a4dc4f484435098e40c4f;p=lyx.git diff --git a/src/graphics/GraphicsConverter.h b/src/graphics/GraphicsConverter.h index 838b07bfc7..c038029bd8 100644 --- a/src/graphics/GraphicsConverter.h +++ b/src/graphics/GraphicsConverter.h @@ -17,7 +17,8 @@ #ifndef GRAPHICSCONVERTER_H #define GRAPHICSCONVERTER_H -#include +#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 @@ -46,11 +48,12 @@ public: /** Connect and you'll be informed when the conversion process has * finished. * If the conversion is successful, then the listener is passed \c true. + * The connection is closed when this is destroyed. */ - typedef boost::signal sig_type; + typedef signals2::signal 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 successful, this returns the name of the * resulting file.