[interfacekit] BDeskbar completed
- From: "Jeremy Rand" <jrand@xxxxxxxx>
- To: interfacekit@xxxxxxxxxxxxx
- Date: Tue, 24 Sep 2002 23:28:04 EDT
>> I expect that the libopenbeos.so will not be able to send
>> BMessages to the BeOS deskbar because of the differences in the
>> messaging protocol.
>
>The only difficulties that may arise are how to target the Deskbar
>application, as the signature/team BMessenger constructor uses
BRoster,
>and the Deskbar is of course not registered to our roster. But you can
>search for the Deskbar's team and AppLooperPort, make BDeskbar
>temporarily a friend of BMessenger and use the private team/port
>constructor (preferred = true, token is ignored). The messaging itself
>should be compatible with that of BeOS -- currently we're using the
>original BMessage anyway.
Well, I cheated and put my source for BDeskbar right into my testcase
code and called it JDeskbar. I built all that locally and showed that
when my "JDeskbar" implementation was linked with the rest of libbe.so,
everything works fine. When I use the actual BDeskbar code compiled
into libopenbeos.so, the test fails because of a B_BAD_PORT return code
(which would be expected). So although the tests as checked in will
fail, I am pretty sure the code is OK. Its just that the deskbar
itself is not running under our own app_server yet.
So, I have finished off BDeskbar. I don't think I have any assignments
left in my name so if there is something out there for me, please let
me know.
>CU, Ingo
--
Jeremy Rand
jrand@xxxxxxxx
Other related posts: