]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.h
Move loadableImageFormats() to the frontend.
[lyx.git] / src / graphics / PreviewImage.h
index 6ec29a36badd1dbb3b84b009d59e12967f9c17a3..2a112b76a169e1e6818eb699b0de323e4504f4bf 100644 (file)
@@ -18,6 +18,8 @@ namespace lyx {
 
 namespace support { class FileName; }
 
+class Dimension;
+
 namespace graphics {
 
 class PreviewLoader;
@@ -38,11 +40,7 @@ public:
        ///
        std::string const & snippet() const;
        ///
-       int ascent() const;
-       ///
-       int descent() const;
-       ///
-       int width() const;
+       Dimension dim() const;
 
        /** If the image is not yet loaded (WaitingToLoad), then this method
         *  triggers that.