Modified a few constrctors so this is the actualized version
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6723 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e0947c82c8
commit
91cf2bda4a
@ -274,7 +274,8 @@ void ServerApp::WindowBroadcast(int32 code)
|
||||
for(int32 i=0; i<count; i++)
|
||||
{
|
||||
ServerWindow *sw = ((WinBorder*)desktop->fWinBorderList.ItemAt(i))->Window();
|
||||
sw->PostMessage(code);
|
||||
BMessage msg(B_QUIT_REQUESTED);
|
||||
sw->SendMessageToClient(&msg);
|
||||
}
|
||||
desktop->fLayerLock.Unlock();
|
||||
}
|
||||
@ -517,7 +518,7 @@ void ServerApp::_DispatchMessage(PortMessage *msg)
|
||||
msg->Read<port_id>(&looperPort);
|
||||
msg->ReadString(&title);
|
||||
msg->Read<port_id>(&replyport);
|
||||
|
||||
|
||||
STRACE(("ServerApp %s: Got 'New Window' message, trying to do smething...\n",fSignature.String()));
|
||||
|
||||
// ServerWindow constructor will reply with port_id of a newly created port
|
||||
|
@ -39,6 +39,7 @@ class PortMessage;
|
||||
class BList;
|
||||
class DisplayDriver;
|
||||
class ServerCursor;
|
||||
class ServerBitmap;
|
||||
|
||||
/*!
|
||||
\class ServerApp ServerApp.h
|
||||
@ -81,7 +82,7 @@ protected:
|
||||
friend class ServerWindow;
|
||||
|
||||
void _DispatchMessage(PortMessage *msg);
|
||||
ServerBitmap *_FindBitmap(int32 token);
|
||||
ServerBitmap* _FindBitmap(int32 token);
|
||||
|
||||
port_id fClientAppPort,
|
||||
fMessagePort,
|
||||
|
Loading…
Reference in New Issue
Block a user