Added PortMessage::ReadString and PortLink::AttachString to support BSession-style string attachments

Tweaks to startup code for BApplication
Tweaked PortQueue to utilize the BSession workaround for PortMessages
Tweaks to message protocol for BCursor


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4939 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
DarkWyrm
2003-10-04 00:55:53 +00:00
parent 9e6ef5ce51
commit 591d280e6c
5 changed files with 45 additions and 16 deletions
+1
View File
@@ -65,6 +65,7 @@ BCursor::BCursor(const void *cursorData)
serverlink.WriteInt32(AS_CREATE_BCURSOR);
serverlink.WriteData(cursorData,68);
serverlink.WriteInt32(serverlink.GetRecvPort());
serverlink.Sync();
serverlink.ReadInt32(&m_serverToken);
}