#include "support/bind.h"
-#include <set>
#include <queue>
+#include <memory>
+#include <set>
using namespace std;
using namespace lyx::support;
static int const s_millisecs_ = 500;
-// FIXME THREAD
LoaderQueue & LoaderQueue::get()
{
static LoaderQueue singleton;
//
/////////////////////////////////////////////////////////////////////
-typedef shared_ptr<Image> ImagePtr;
+typedef std::shared_ptr<Image> ImagePtr;
-class Loader::Impl : public boost::signals::trackable {
+class Loader::Impl : public boost::signals2::trackable {
public:
///
Impl();
/// We modify a local copy of the image once it is loaded.
ImagePtr image_;
/// This signal is emitted when the image loading status changes.
- boost::signal<void()> signal_;
+ boost::signals2::signal<void()> signal_;
/// The connection of the signal StatusChanged
- boost::signals::connection sc_;
+ boost::signals2::connection sc_;
double displayPixelRatio() const
{
}
-boost::signals::connection Loader::connect(slot_type const & slot) const
+boost::signals2::connection Loader::connect(slot_type const & slot) const
{
return pimpl_->signal_.connect(slot);
}