]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/GraphicsCacheItem.h
* src/LaTeX.C: beautification: use identical user messages
[lyx.git] / src / graphics / GraphicsCacheItem.h
index 69ca82ef2191252aadb4d644e5b815ed9b68745a..530cc680abca9e3fe2e7fff9c292c0cc2c41bac0 100644 (file)
 
 #include <boost/utility.hpp>
 #include <boost/scoped_ptr.hpp>
-#include <boost/signals/signal0.hpp>
+#include <boost/signal.hpp>
 
 
-class InsetGraphics;
-
 namespace lyx {
 namespace graphics {
 
@@ -84,7 +82,8 @@ public:
        /** Connect and you'll be informed when the loading status of the image
         *  changes.
         */
-       typedef boost::signal0<void>::slot_type slot_type;
+       typedef boost::signal<void()> sig_type;
+       typedef sig_type::slot_type slot_type;
        ///
        boost::signals::connection connect(slot_type const &) const;