2005-06-07 22:36:03 +00:00
|
|
|
/*
|
2005-11-02 12:55:20 +00:00
|
|
|
* Copyright 2005, Haiku.
|
2005-06-07 22:36:03 +00:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Axel Dörfler, axeld@pinc-software.de
|
|
|
|
*/
|
2005-11-02 12:55:20 +00:00
|
|
|
#ifndef _PORT_LINK_H
|
|
|
|
#define _PORT_LINK_H
|
2005-11-01 15:43:38 +00:00
|
|
|
|
2002-07-09 12:24:59 +00:00
|
|
|
|
2005-11-02 12:55:20 +00:00
|
|
|
#include <ServerLink.h>
|
2003-08-31 17:21:49 +00:00
|
|
|
|
2004-07-30 15:10:19 +00:00
|
|
|
|
2005-06-14 21:28:56 +00:00
|
|
|
namespace BPrivate {
|
2003-10-03 22:20:28 +00:00
|
|
|
|
2005-06-14 21:28:56 +00:00
|
|
|
class PortLink : public ServerLink {
|
|
|
|
public:
|
|
|
|
PortLink(port_id sender = -1, port_id receiver = -1);
|
|
|
|
virtual ~PortLink();
|
|
|
|
|
|
|
|
void SetTo(port_id sender, port_id receiver);
|
2002-07-09 12:24:59 +00:00
|
|
|
};
|
|
|
|
|
2005-06-14 21:28:56 +00:00
|
|
|
} // namespace BPrivate
|
2005-06-07 22:36:03 +00:00
|
|
|
|
2005-11-02 12:55:20 +00:00
|
|
|
#endif /* _PORT_LINK_H */
|