X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fgraphics%2FGraphicsCacheItem.h;h=ba5efe6b2ab564c925784fa9928b55a7e1bed8a2;hb=59e2becdd8041d92d3b3a98d36440494c975c845;hp=ee2348d8fc49b11485a7e9761aca66469f3d0fb7;hpb=244de5d2c10a990828eafdd72283fc87742dc133;p=lyx.git diff --git a/src/graphics/GraphicsCacheItem.h b/src/graphics/GraphicsCacheItem.h index ee2348d8fc..ba5efe6b2a 100644 --- a/src/graphics/GraphicsCacheItem.h +++ b/src/graphics/GraphicsCacheItem.h @@ -30,7 +30,7 @@ #include "GraphicsTypes.h" -#include +#include "support/signals.h" namespace lyx { @@ -40,7 +40,6 @@ namespace support { class FileName; } namespace graphics { class Image; -class Converter; /// A graphics::Cache item holder. class CacheItem { @@ -66,11 +65,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; + /// perform a modification check asynchronously + void checkModifiedAsync() const; /** Get the image associated with filename(). * If the image is not yet loaded, returns 0. @@ -85,10 +81,9 @@ 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::slot_type slot_type; /// - boost::signals2::connection connect(slot_type const &) const; + signals2::connection connect(slot_type const &) const; private: /// noncopyable