]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.h
Remove unused variables
[lyx.git] / src / graphics / PreviewImage.h
index 6ec29a36badd1dbb3b84b009d59e12967f9c17a3..bea2553eebcbc2692c0350db0c1eb3495b4f006a 100644 (file)
@@ -18,6 +18,8 @@ namespace lyx {
 
 namespace support { class FileName; }
 
+class Dimension;
+
 namespace graphics {
 
 class PreviewLoader;
@@ -38,16 +40,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.