X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fforkedcallqueue.h;h=5d33034dc63b26e78bb54fd0aea38bfcaa5e1503;hb=005545f28100fd30afa22313d6e3b1b67aa9a857;hp=87a609f043d7761337955446aa08ace994e6bbd2;hpb=92d522b7f1be6046adcac062c558bbf0bf021612;p=lyx.git diff --git a/src/support/forkedcallqueue.h b/src/support/forkedcallqueue.h index 87a609f043..5d33034dc6 100644 --- a/src/support/forkedcallqueue.h +++ b/src/support/forkedcallqueue.h @@ -6,7 +6,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. * * This class implements a queue of forked processes. In order not to * hose the system with multiple processes running simultaneously, you can @@ -22,7 +22,7 @@ #include #include -#include "LString.h" + namespace lyx { namespace support { @@ -30,13 +30,13 @@ namespace support { class ForkedCallQueue { public: /// A process in the queue - typedef std::pair Process; + typedef std::pair 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::SignalTypePtr add(string const & process); + Forkedcall::SignalTypePtr add(std::string const & process); /// Query whether the queue is running a forked process now. bool running() const; /// Get the and only instance of the class