/*
- 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
#include <sstream>
#include <iostream>
-#include <sigc++/sigc++.h>
+#include <pbd/signals.h>
#include "pbd/libpbd_visibility.h"
Transmitter (Channel);
- sigc::signal<void,Channel, const char *> &sender() {
+ PBD::Signal2<void,Channel, const char *> &sender() {
return *send;
}
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.
*/
/* hmm. not a Transmitter, so just put a newline on
it and assume that that will be enough.
*/
-
+
ostr << std::endl;
}