6 * \author Angus Leeming
8 * Full author contact details are available in file CREDITS
11 #ifndef CONTROLFORKS_H
12 #define CONTROLFORKS_H
18 #include "ControlDialog_impl.h"
21 #include <boost/signals/connection.hpp>
23 #include <sys/types.h>
26 /** A controller for dialogs that display the child processes forked by LyX.
27 Also provides an interface enabling them to be killed prematurely.
29 class ControlForks : public ControlDialogBI {
32 ControlForks(LyXView &, Dialogs &);
34 std::vector<pid_t> const getPIDs() const;
36 string const getCommand(pid_t) const;
43 /// disconnect from the ForkedcallsController
44 virtual void clearParams();
45 /// connect to the ForkedcallsController
46 virtual void setParams();
47 /// Connection to the ForkedcallsController signal
48 boost::signals::connection childrenChanged_;
49 /// The list of PIDs to kill
50 std::vector<string> pids_;
53 #endif // CONTROLFORKS_H