Towards fixing AU preset invalidation
[ardour.git] / libs / pbd / pbd / transmitter.h
index d77fca8da32a4c67f38fdf4420cb127b6a824a21..47ab9c7e3e92ffcf034d069295f79bdc3f3553ce 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 1998-99 Paul Barton-Davis 
+    Copyright (C) 1998-99 Paul Barton-Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
@@ -23,7 +23,7 @@
 #include <sstream>
 #include <iostream>
 
-#include <sigc++/sigc++.h>
+#include <pbd/signals.h>
 
 #include "pbd/libpbd_visibility.h"
 
@@ -41,7 +41,7 @@ class LIBPBD_API Transmitter : public std::stringstream
 
        Transmitter (Channel);
 
-       sigc::signal<void,Channel, const char *> &sender() { 
+       PBD::Signal2<void,Channel, const char *> &sender() {
                return *send;
        }
 
@@ -53,16 +53,16 @@ class LIBPBD_API Transmitter : public std::stringstream
 
   private:
        Channel channel;
-       sigc::signal<void, Channel, const char *> *send;
+       PBD::Signal2<void, Channel, const char *> *send;
 
-       sigc::signal<void, Channel, const char *> info;
-       sigc::signal<void, Channel, const char *> warning;
-       sigc::signal<void, Channel, const char *> error;
-       sigc::signal<void, Channel, const char *> fatal;
+       PBD::Signal2<void, Channel, const char *> info;
+       PBD::Signal2<void, Channel, const char *> warning;
+       PBD::Signal2<void, Channel, const char *> error;
+       PBD::Signal2<void, Channel, const char *> fatal;
 };
 
 /* for EGCS 2.91.66, if this function is not compiled within the same
-   compilation unit as the one where a ThrownError is thrown, then 
+   compilation unit as the one where a ThrownError is thrown, then
    nothing will catch the error. This is a pretty small function, so
    inlining it here seems like a reasonable workaround.
 */
@@ -94,7 +94,7 @@ endmsg (std::ostream &ostr)
                /* hmm. not a Transmitter, so just put a newline on
                   it and assume that that will be enough.
                */
-               
+
                ostr << std::endl;
        }