/*
- 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
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
- $Id$
*/
#ifndef __libmisc_receiver_h__
#include <sigc++/sigc++.h>
+#include "pbd/libpbd_visibility.h"
#include "transmitter.h"
-using std::vector;
-
class strstream;
-class Receiver : virtual public sigc::trackable
+class LIBPBD_API Receiver : public sigc::trackable
{
public:
Receiver ();
virtual ~Receiver ();
-
+
void listen_to (Transmitter &);
void hangup ();
virtual void receive (Transmitter::Channel, const char *) = 0;
private:
- vector<sigc::connection *> connections;
+ std::vector<sigc::connection *> connections;
};
#endif // __libmisc_receiver_h__