2005-06-08 02:36:03 +04:00
|
|
|
/*
|
2005-11-02 15:55:20 +03:00
|
|
|
* Copyright 2005, Haiku.
|
2005-06-08 02:36:03 +04:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* Axel Dörfler, axeld@pinc-software.de
|
|
|
|
*/
|
2005-11-02 15:55:20 +03:00
|
|
|
#ifndef _PORT_LINK_H
|
|
|
|
#define _PORT_LINK_H
|
2005-11-01 18:43:38 +03:00
|
|
|
|
2002-07-09 16:24:59 +04:00
|
|
|
|
2005-11-02 15:55:20 +03:00
|
|
|
#include <ServerLink.h>
|
2003-08-31 21:21:49 +04:00
|
|
|
|
2004-07-30 19:10:19 +04:00
|
|
|
|
2005-06-15 01:28:56 +04:00
|
|
|
namespace BPrivate {
|
2003-10-04 02:20:28 +04:00
|
|
|
|
2005-06-15 01:28:56 +04: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 16:24:59 +04:00
|
|
|
};
|
|
|
|
|
2005-06-15 01:28:56 +04:00
|
|
|
} // namespace BPrivate
|
2005-06-08 02:36:03 +04:00
|
|
|
|
2005-11-02 15:55:20 +03:00
|
|
|
#endif /* _PORT_LINK_H */
|