#ifndef PREVIEWIMAGE_H
#define PREVIEWIMAGE_H
-#include "LString.h"
#include <boost/scoped_ptr.hpp>
-
-class InsetOld;
+#include <string>
namespace lyx {
+
+namespace support { class FileName; }
+
namespace graphics {
class PreviewLoader;
* descent = height * (1 - ascent_frac)
*/
PreviewImage(PreviewLoader & parent,
- string const & latex_snippet,
- string const & bitmap_file,
+ std::string const & latex_snippet,
+ support::FileName const & bitmap_file,
double ascent_frac);
///
~PreviewImage();
///
- string const & snippet() const;
+ std::string const & snippet() const;
///
int ascent() const;
///