[interfacekit] Re: BApplication (or, OBAppplication)
- From: Isaac Yonemoto <ityonemo@xxxxxxxxxxxx>
- To: DarkWyrm <bpmagic@xxxxxxxxxxxxxxx>
- Date: Fri, 26 Apr 2002 19:49:04 -0500 (CDT)
> >Does anyone have any insight on how to hijack the BLooper's default port
> >for message-receiving in the BApplication class?
> Not hard. The port's name is AppLooperPort. All you have to do is call
> set_port_owner on the port you intend to steal.
No, I meant the port for general, incoming messages from
wherever. Looking through the "friend" declarations in BLooper, it looks
like there is a function:
port_id _get_looper_port(const BLooper *);
and a variable:
port_id fMsgPort;
I wonder if BLooper initializes this port during BLooper construction or
on the Run() call?
Isaac
- Follow-Ups:
- References:
- [interfacekit] Re: BApplication (or, OBAppplication)
- From: DarkWyrm
Other related posts:
- » [interfacekit] BApplication (or, OBAppplication)
- » [interfacekit] Re: BApplication (or, OBAppplication)
- » [interfacekit] Re: BApplication (or, OBAppplication)
- » [interfacekit] Re: BApplication (or, OBAppplication)
- [interfacekit] Re: BApplication (or, OBAppplication)
- From: DarkWyrm