- /// The preview has been generated and is ready to use.
- bool previewReady() const;
-
- /// Connect and you'll be informed when the preview is ready.
- typedef boost::signal0<void>::slot_type slot_type;
- boost::signals::connection connect(slot_type const &);
+ /** \returns a pointer to the PreviewImage associated with this snippet
+ * of latex.
+ */
+ graphics::PreviewImage const *
+ getPreviewImage(Buffer const & buffer) const;