]> git.lyx.org Git - lyx.git/blobdiff - src/support/forkedcallqueue.C
* lyxfunctional.h: delete compare_memfun and helper classes
[lyx.git] / src / support / forkedcallqueue.C
index fe9606772a399844786a079b283fbece8e462663..20997271d4963a3c56547b8a8d365eb3f21ccfc8 100644 (file)
@@ -5,7 +5,7 @@
  *
  * \author Alfredo Braunstein (based on an idea from Angus Leeming)
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
 #include "debug.h"
 
 #include <boost/bind.hpp>
-#include <boost/signals/signal2.hpp>
 
+
+using std::string;
 using std::endl;
-using std::queue;
+
+
+namespace lyx {
+namespace support {
 
 ForkedCallQueue & ForkedCallQueue::get()
 {
@@ -59,7 +63,7 @@ void ForkedCallQueue::callNext()
 
 void ForkedCallQueue::callback(pid_t, int)
 {
-       if(callQueue_.empty()) {
+       if (callQueue_.empty()) {
                stopCaller();
        } else {
                callNext();
@@ -90,3 +94,6 @@ bool ForkedCallQueue::running() const
 {
        return running_ ;
 }
+
+} // namespace support
+} // namespace lyx