#include "GraphicsLoader.h"
#include "PreviewLoader.h"
+#include "support/filename.h"
#include "support/lyxlib.h"
#include <boost/bind.hpp>
-namespace support = lyx::support;
-
using std::string;
namespace lyx {
+
+using support::FileName;
+
namespace graphics {
-struct PreviewImage::Impl : public boost::signals::trackable {
+class PreviewImage::Impl : public boost::signals::trackable {
+public:
///
Impl(PreviewImage & p, PreviewLoader & l,
- string const & s, string const & f, double af);
+ string const & s, FileName const & f, double af);
///
~Impl();
///
PreviewImage::PreviewImage(PreviewLoader & l,
string const & s,
- string const & f,
+ FileName const & f,
double af)
: pimpl_(new Impl(*this, l, s, f, af))
{}
PreviewImage::Impl::Impl(PreviewImage & p, PreviewLoader & l,
string const & s,
- string const & bf,
+ FileName const & bf,
double af)
: parent_(p), ploader_(l), iloader_(bf),
snippet_(s), ascent_frac_(af)