]> git.lyx.org Git - features.git/blobdiff - src/frontends/controllers/ControlForks.h
Replace LString.h with support/std_string.h,
[features.git] / src / frontends / controllers / ControlForks.h
index 46de1853d33391648ac2d3de5b30423db23c4166..0752a062042cb039dc9ca02c2d1ebddffbabf226 100644 (file)
@@ -1,21 +1,23 @@
 // -*- 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>
 
@@ -32,7 +34,6 @@ public:
        string const getCommand(pid_t) const;
        ///
        void kill(pid_t);
-
 private:
        ///
        virtual void apply();
@@ -41,9 +42,9 @@ private:
        /// 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