// -*- C++ -*- /** * \file ControlForks.h * This file is part of LyX, the document processor. * Licence details can be found in the file COPYING. * * \author Angus Leeming * * Full author contact details are available in file CREDITS */ #ifndef CONTROLFORKS_H #define CONTROLFORKS_H #include "ControlDialog_impl.h" #include "LString.h" #include #include #include /** A controller for dialogs that display the child processes forked by LyX. Also provides an interface enabling them to be killed prematurely. */ class ControlForks : public ControlDialogBI { public: /// ControlForks(LyXView &, Dialogs &); /// std::vector const getPIDs() const; /// string const getCommand(pid_t) const; /// void kill(pid_t); private: /// virtual void apply(); /// disconnect from the ForkedcallsController virtual void clearParams(); /// connect to the ForkedcallsController virtual void setParams(); /// Connection to the ForkedcallsController signal boost::signals::connection childrenChanged_; /// The list of PIDs to kill std::vector pids_; }; #endif // CONTROLFORKS_H