]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.h
Use << for raising 2 to power instead of ^
[lyx.git] / src / graphics / PreviewImage.h
index 6ec29a36badd1dbb3b84b009d59e12967f9c17a3..6b5ac7e66cd1d1e0495a0b84a5aa37570fa7adfd 100644 (file)
@@ -18,8 +18,11 @@ namespace lyx {
 
 namespace support { class FileName; }
 
+class Dimension;
+
 namespace graphics {
 
+class Cache;
 class PreviewLoader;
 class Image;
 
@@ -38,16 +41,16 @@ 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.
         */
        Image const * image() const;
+       ///
+       support::FileName const & filename() const;
+
+       PreviewLoader & previewLoader() const;
 
 private:
        /// Use the Pimpl idiom to hide the internals.