// -*- C++ -*-
/**
- * \file PreviewImage.h
- * Read the file COPYING
+ * \file PreviewImage.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
*
- * \author Angus Leeming
+ * \author Angus Leeming
*
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
*/
#ifndef PREVIEWIMAGE_H
#define PREVIEWIMAGE_H
-#ifdef __GNUG__
-#pragma interface
-#endif
-
-#include "LString.h"
+#include "support/std_string.h"
#include <boost/scoped_ptr.hpp>
-class Inset;
-class BufferView;
+class InsetOld;
-namespace grfx {
+namespace lyx {
+namespace graphics {
class PreviewLoader;
class Image;
/** If the image is not yet loaded (WaitingToLoad), then this method
* triggers that.
- * inset and bv are passed so we can choose to load only
- * those insets that are visible.
*/
- Image const * image(Inset const & inset, BufferView const & bv) const;
+ Image const * image() const;
private:
/// Use the Pimpl idiom to hide the internals.
boost::scoped_ptr<Impl> const pimpl_;
};
-} // namespace grfx
+} // namespace graphics
+} // namespace lyx
#endif // PREVIEWIMAGE_H