// -*- C++ -*-
-/**
+/**
* \file ControlForks.h
- * Copyright 2001 The LyX Team
- * Read COPYING
+ * 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
-#ifdef __GNUG__
-#pragma interface
-#endif
#include "ControlDialog_impl.h"
-#include "LString.h"
+#include "support/std_string.h"
+
+#include <boost/signals/connection.hpp>
+
#include <sys/types.h>
#include <vector>
string const getCommand(pid_t) const;
///
void kill(pid_t);
-
private:
///
virtual void apply();
/// connect to the ForkedcallsController
virtual void setParams();
/// Connection to the ForkedcallsController signal
- SigC::Connection childrenChanged_;
+ boost::signals::connection childrenChanged_;
/// The list of PIDs to kill
- std::vector<string> pids_;
+ std::vector<pid_t> pids_;
};
#endif // CONTROLFORKS_H