X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Fsupport%2Fforkedcallqueue.h;h=20b939791bd81432f643dcd00794306161774012;hb=342cdf432246110db37bee4e0aebb4b72c933ddb;hp=87a609f043d7761337955446aa08ace994e6bbd2;hpb=92d522b7f1be6046adcac062c558bbf0bf021612;p=lyx.git diff --git a/src/support/forkedcallqueue.h b/src/support/forkedcallqueue.h index 87a609f043..20b939791b 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 @@ -18,11 +18,11 @@ #ifndef FORKEDCALLQUEUE_H #define FORKEDCALLQUEUE_H -#include "forkedcall.h" +#include "support/forkedcall.h" #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