]> git.lyx.org Git - lyx.git/blobdiff - src/graphics/LoaderQueue.C
Rename insets/insetxxx to insets/InsetXxx, part 1
[lyx.git] / src / graphics / LoaderQueue.C
index 89df7f257505e2f40fd110c5d8bfc7fb5a2c459d..aca489598b4375237c75094a18d7361101f9a3e4 100644 (file)
@@ -11,6 +11,7 @@
 #include <config.h>
 
 #include "LoaderQueue.h"
+#include "GraphicsCacheItem.h"
 
 #include "debug.h"
 
@@ -35,7 +36,7 @@ LoaderQueue & LoaderQueue::get()
 
 void LoaderQueue::loadNext()
 {
-       lyxerr[Debug::GRAPHICS] << "LoaderQueue: "
+       LYXERR(Debug::GRAPHICS) << "LoaderQueue: "
                                << cache_queue_.size()
                                << " items in the queue" << endl;
        int counter = s_numimages_;
@@ -58,7 +59,7 @@ void LoaderQueue::setPriority(int numimages , int millisecs)
 {
        s_numimages_ = numimages;
        s_millisecs_ = millisecs;
-       lyxerr[Debug::GRAPHICS] << "LoaderQueue:  priority set to "
+       LYXERR(Debug::GRAPHICS) << "LoaderQueue:  priority set to "
                                << s_numimages_ << " images at a time, "
                                << s_millisecs_ << " milliseconds between calls"
                                << endl;
@@ -74,7 +75,7 @@ LoaderQueue::LoaderQueue() : timer(s_millisecs_, Timeout::ONETIME),
 
 void LoaderQueue::startLoader()
 {
-       lyxerr[Debug::GRAPHICS] << "LoaderQueue: waking up" << endl;
+       LYXERR(Debug::GRAPHICS) << "LoaderQueue: waking up" << endl;
        running_ = true ;
        timer.setTimeout(s_millisecs_);
        timer.start();
@@ -85,7 +86,7 @@ void LoaderQueue::stopLoader()
 {
        timer.stop();
        running_ = false ;
-       lyxerr[Debug::GRAPHICS] << "LoaderQueue: I'm going to sleep" << endl;
+       LYXERR(Debug::GRAPHICS) << "LoaderQueue: I'm going to sleep" << endl;
 }