Simplfied AppServerLink interface

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3933 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2003-07-10 16:56:27 +00:00
parent 61480f2184
commit faa6a27319
2 changed files with 8 additions and 14 deletions
+5 -10
View File
@@ -31,7 +31,6 @@
// System Includes -------------------------------------------------------------
#include <Application.h>
#include <PortLink.h>
// Project Includes ------------------------------------------------------------
#include <AppServerLink.h>
@@ -44,23 +43,19 @@
namespace BPrivate {
//------------------------------------------------------------------------------
BAppServerLink::BAppServerLink()
BAppServerLink::BAppServerLink(void)
: PortLink(0L)
{
be_app->Lock();
portlink=new PortLink(be_app->fServerFrom);
SetPort(be_app->fServerFrom);
}
//------------------------------------------------------------------------------
BAppServerLink::~BAppServerLink()
{
delete portlink;
be_app->Unlock();
}
//------------------------------------------------------------------------------
void BAppServerLink::Init()
{
}
//------------------------------------------------------------------------------
} // namespace BPrivate