#include "GraphicsTypes.h"
-#include <boost/signals2.hpp>
+#include "support/signals.h"
namespace lyx {
*/
void startLoading() const;
- /** Tries to reload the image.
+ /** Tries to reload the image.
*/
void reload() const;
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;
/** Connect and you'll be informed when the loading status of the image
* changes.
*/
- typedef boost::signals2::signal<void()> sig_type;
- typedef sig_type::slot_type slot_type;
+ typedef signals2::signal<void()> 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.