#ifndef GRAPHICSCONVERTER_H
#define GRAPHICSCONVERTER_H
-#include <boost/scoped_ptr.hpp>
#include <boost/signal.hpp>
-#include <boost/noncopyable.hpp>
namespace lyx {
namespace graphics {
-class Converter : boost::noncopyable {
+class Converter {
public:
/// Can the conversion be performed?
static bool isReachable(std::string const & from_format_name,
Converter(support::FileName const & from_file, std::string const & to_file_base,
std::string const & from_format, std::string const & to_format);
- /// Define an empty d-tor out-of-line to keep boost::scoped_ptr happy.
+ /// Needed for the pimpl
~Converter();
/// We are explicit about when we begin the conversion process.
support::FileName const & convertedFile() const;
private:
+ /// noncopyable
+ Converter(Converter const &);
+ void operator=(Converter const &);
+
/// Use the Pimpl idiom to hide the internals.
class Impl;
-
/// The pointer never changes although *pimpl_'s contents may.
- boost::scoped_ptr<Impl> const pimpl_;
+ Impl * const pimpl_;
};
} // namespace graphics