+ void startLoading(bool wait = false) const;
+
+ /** Connect and you'll be informed when the bitmap image file
+ * has been created and is ready for loading through
+ * lyx::graphics::PreviewImage::image().
+ */
+ typedef signals2::signal<void(PreviewImage const &)> sig;
+ typedef sig::slot_type slot;
+ ///
+ signals2::connection connect(slot const &) const;
+
+ /** When PreviewImage has finished loading the image file into memory,
+ * it tells the PreviewLoader to tell the outside world
+ */
+ void emitSignal(PreviewImage const &) const;
+
+ /// Which buffer owns this loader.
+ Buffer const & buffer() const;
+ /// The background color used
+ static ColorCode backgroundColor() { return Color_background; }
+ /// The foreground color used
+ static ColorCode foregroundColor() { return Color_preview; }