]> git.lyx.org Git - lyx.git/blobdiff - src/support/forkedcall.h
Switch from SigC signals to boost::signals
[lyx.git] / src / support / forkedcall.h
index f64a2cd8e5f8ef90d72740fca899070697cf96c4..f51b86e1b8b8f22c135d905778543f36bed3ec08 100644 (file)
 #endif
 
 #include "LString.h"
-#include <sys/types.h>
-#include <boost/smart_ptr.hpp>
-#include <sigc++/signal_system.h>
 
+#include <boost/shared_ptr.hpp>
+#include <boost/signals/signal3.hpp>
+
+#include <sys/types.h>
 
 class Forkedcall {
 public:
@@ -43,10 +44,10 @@ public:
                ///
                DontWait
        };
-       
+
        ///
        Forkedcall();
-       
+
        /** Start the child process.
         *
         *  The command "what" is passed to fork() for execution.
@@ -71,7 +72,7 @@ public:
         *  we can return easily to C++ methods, rather than just globally
         *  accessible functions.
         */
-       typedef SigC::Signal3<void, string const &, pid_t, int> SignalType;
+       typedef boost::signal3<void, string const &, pid_t, int> SignalType;
 
        /** The signal is connected in the calling routine to the desired
         *  slot. We pass a shared_ptr rather than a reference to the signal
@@ -94,7 +95,7 @@ public:
         *  Used by the timer.
         */
        pid_t pid() const { return pid_; }
-       
+
        /** Emit the signal.
         *  Used by the timer.
         */