/** Copyright 2006-2009, Haiku Inc.* Distributed under the terms of the MIT License.** Authors:* Axel DΓΆrfler, axeld@pinc-software.de*/#include <DesktopLink.h>#include <AppMisc.h>#include <ServerProtocol.h>namespace BPrivate {DesktopLink::DesktopLink(){create_desktop_connection(this, "desktop reply", 1);}DesktopLink::~DesktopLink(){delete_port(fReceiver->Port());}status_tDesktopLink::InitCheck() const{return fReceiver->Port() < B_OK ? fReceiver->Port() : B_OK;}} // namespace BPrivate