2 * Copyright 2006-2009, Haiku Inc.
3 * Distributed under the terms of the MIT License.
6 * Axel Dörfler, axeld@pinc-software.de
10 #include <DesktopLink.h>
13 #include <ServerProtocol.h>
19 DesktopLink::DesktopLink()
21 create_desktop_connection(this, "desktop reply", 1);
25 DesktopLink::~DesktopLink()
27 delete_port(fReceiver
->Port());
32 DesktopLink::InitCheck() const
34 return fReceiver
->Port() < B_OK
? fReceiver
->Port() : B_OK
;
38 } // namespace BPrivate