X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraphics%2FGraphicsLoader.h;h=0a299cba1a6e89870d40e2e8251d297da110e2f8;hb=38c2cde0d8695ac5287bae218c4a33a2acf18ef8;hp=8b97114f60f2a32864a362aeae6c4fca590b0f0f;hpb=244de5d2c10a990828eafdd72283fc87742dc133;p=lyx.git diff --git a/src/graphics/GraphicsLoader.h b/src/graphics/GraphicsLoader.h index 8b97114f60..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,11 +81,8 @@ public: void startMonitoring() const; /// bool monitoring() const; - /** Returns the check checksum of filename() so that, for example, you can - * ascertain whether to output a new PostScript version of the file - * for a LaTeX run. - */ - unsigned long checksum() const; + /// + void checkModifiedAsync() const; /// How far have we got in loading the image? ImageStatus status() const; @@ -93,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.