]> git.lyx.org Git - lyx.git/blobdiff - src/support/forkedcallqueue.C
* support/qstring_helpers.h: erase ucs4_to_qstring() method.
[lyx.git] / src / support / forkedcallqueue.C
index fe9606772a399844786a079b283fbece8e462663..38b35ba8beb9c919d8eeeee2e32da71791e5d1d0 100644 (file)
@@ -5,20 +5,24 @@
  *
  * \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 "forkedcallqueue.h"
+#include "support/forkedcallqueue.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