*/
class GraphicsCacheItem_pimpl;
-
+class LyXImage;
/// A GraphicsCache item holder.
class GraphicsCacheItem {
int getWidth() const;
/// Return a pixmap that can be displayed on X server.
- Pixmap getImage() const;
+ LyXImage * getImage() const;
///
enum ImageStatus {
///
///
ErrorReading,
///
+ UnknownError,
+ ///
Loaded
};
*/
void imageConverted(int retval);
+ /// Create another copy of the object.
+ GraphicsCacheItem * Clone() const;
+
private:
/// Private c-tor so that only GraphicsCache can create an instance.
GraphicsCacheItem();