]> git.lyx.org Git - lyx.git/blobdiff - src/support/ForkedCalls.cpp
Let paragraph::requestSpellcheck() consider contained insets
[lyx.git] / src / support / ForkedCalls.cpp
index 7718a745aec7a29717b76f824f721d83e841eb9b..e6f5a8e9d0f6c8c7cfacd01bc2d0f83f7949615a 100644 (file)
@@ -24,6 +24,8 @@
 #include "support/bind.h"
 
 #include <cerrno>
+#include <cstring>
+#include <list>
 #include <queue>
 #include <sstream>
 #include <utility>
@@ -437,12 +439,6 @@ namespace ForkedCallQueue {
 
 /// A process in the queue
 typedef pair<string, ForkedCall::sigPtr> Process;
-/** Add a process to the queue. Processes are forked sequentially
- *  only one is running at a time.
- *  Connect to the returned signal and you'll be informed when
- *  the process has ended.
- */
-ForkedCall::sigPtr add(string const & process);
 
 /// in-progress queue
 static queue<Process> callQueue_;
@@ -457,6 +453,11 @@ void stopCaller();
 ///
 void callback(pid_t, int);
 
+/** Add a process to the queue. Processes are forked sequentially
+ *  only one is running at a time.
+ *  Connect to the returned signal and you'll be informed when
+ *  the process has ended.
+ */
 ForkedCall::sigPtr add(string const & process)
 {
        ForkedCall::sigPtr ptr;