[interfacekit] BApplication (or, OBAppplication)


Does anyone have any insight on how to hijack the BLooper's default port
for message-receiving in the BApplication class?

Obviously, the virtual Run() function must be overloaded (because
otherwise the BApplication will spawn another thread.  Then we lose
(unfortunately) the loop which shunts messages from the port on over to
the BMessageQueue.

Fortuitously, it seems that BApplication is a friend of BLooper, giving 
it access to some of the private parts, but there must be a more elegant
way of doing this.

Isaac




Other related posts: