1 /* 2 * Copyright 2005, Haiku. 3 * Distributed under the terms of the MIT License. 4 * 5 * Authors: 6 * Axel Dörfler, axeld@pinc-software.de 7 */ 8 #ifndef _PORT_LINK_H 9 #define _PORT_LINK_H 10 11 12 #include <ServerLink.h> 13 14 15 namespace BPrivate { 16 17 class PortLink : public ServerLink { 18 public: 19 PortLink(port_id sender = -1, port_id receiver = -1); 20 virtual ~PortLink(); 21 22 void SetTo(port_id sender, port_id receiver); 23 }; 24 25 } // namespace BPrivate 26 27 #endif /* _PORT_LINK_H */ 28