#include "support/FileMonitor.h"
-#include <boost/signals/signal0.hpp>
+#include <boost/signal.hpp>
#include <boost/signals/trackable.hpp>
#include <boost/signals/connection.hpp>
class Buffer;
class BufferView;
+class LyXRC_PreviewStatus;
class MetricsInfo;
class PainterInfo;
class RenderPreview : public RenderBase, public boost::signals::trackable {
public:
- /// a wrapper for Previews::activated()
- static bool activated();
+ /// a wrapper for Previews::status()
+ static LyXRC_PreviewStatus status();
RenderPreview(InsetBase const *);
RenderPreview(RenderPreview const &, InsetBase const *);
/// Connect and you'll be informed when the file changes.
- typedef boost::signal0<void>::slot_type slot_type;
+ typedef lyx::support::FileMonitor::slot_type slot_type;
boost::signals::connection fileChanged(slot_type const &);
/// equivalent to dynamic_cast