[TextEditor_mcc] Re: BOOPSI and hook functions

  • From: Ilkka Lehtoranta <ilkleht@xxxxxxxxxxx>
  • To: texteditor_mcc@xxxxxxxxxxxxx
  • Date: Mon, 11 Jul 2005 23:41:48 +0300 (EEST)

On Mon, 11 Jul 2005, Gunther Nikl wrote:

> On Fri, Jul 08, 2005 at 07:05:02PM +0300, Ilkka Lehtoranta wrote:
> > > Currently most MCC projects have some OS4 magic in mcc_common.h for boopsi
> > > and hook functions. IMHO this magic should be moved into a separate header
> > > eg. "SDI_boospi.h". Additionally to what is currently done, this header
> > > should include "clib/alib_protos.h" for OS3/MOS and "proto/intuition."
> > > together with "proto/utility.h" for OS4. Whenever a sourec needs boopsi
> > 
> > Actually it could include proto/intuition.h and proto/utility.h for all 
> > three.
> 
>   Well, thats what I would like to avoid. I see no advatange doing this
>   unconditionally but I can see problems. AFAICT, only OS4 has BOOPSI
>   support in intuition and insists in using utility/CallHookPkt. OS3 
>   and MOS use amiga.lib.

There is SetAttrs() and GetAttr(). Both needed by BOOPSI.

_____________________________________________________________________________
TextEditor ML   - http://www.freelists.org/list/texteditor_mcc
Listserver help - mailto:texteditor_mcc-request@xxxxxxxxxxxxx?Subject=HELP
Bugtracker......: http://sourceforge.net/tracker/?atid=731469&group_id=135025

Other related posts: