X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraphics%2FGraphicsLoader.h;h=0a299cba1a6e89870d40e2e8251d297da110e2f8;hb=acba847649f89b63a7762a227a3aac2a12fd6b75;hp=0b5885772e0e74528e80b9f16c95579c29f71d51;hpb=e3a13968139a7b9469060e2f10b7807c8e10339b;p=lyx.git diff --git a/src/graphics/GraphicsLoader.h b/src/graphics/GraphicsLoader.h index 0b5885772e..0a299cba1a 100644 --- a/src/graphics/GraphicsLoader.h +++ b/src/graphics/GraphicsLoader.h @@ -26,7 +26,7 @@ #include "GraphicsTypes.h" -#include +#include "support/signals.h" namespace lyx { @@ -70,7 +70,7 @@ public: */ void startLoading() const; - /** Tries to reload the image. + /** Tries to reload the image. */ void reload() const; @@ -81,6 +81,8 @@ public: void startMonitoring() const; /// bool monitoring() const; + /// + void checkModifiedAsync() const; /// How far have we got in loading the image? ImageStatus status() const; @@ -88,10 +90,10 @@ public: /** Connect and you'll be informed when the loading status of the image * changes. */ - typedef boost::signals2::signal sig_type; - typedef sig_type::slot_type slot_type; + typedef signals2::signal sig; + typedef sig::slot_type slot; /// - boost::signals2::connection connect(slot_type const &) const; + signals2::connection connect(slot const &) const; /** The loaded image with Pixmap set. * If the Pixmap is not yet set (see status() for why...), returns 0.