]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/PreviewImage.h
Store an InsetBase & in MailInset.
[lyx.git] / src / graphics / PreviewImage.h
index 9fe62ec8316f5ccc2e3acaafdfe468f335880713..4c459756d01b7a8e61a8c5751c447dc9b25cf1f2 100644 (file)
 #ifndef PREVIEWIMAGE_H
 #define PREVIEWIMAGE_H
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "LString.h"
 #include <boost/scoped_ptr.hpp>
 
@@ -50,10 +46,8 @@ public:
 
        /** 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.