Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
11 user(s) are online (7 user(s) are browsing Forums)

Members: 1
Guests: 10

beworld, more...

Support us!

Headlines

 
  Register To Post  

Porting ClassAct to Reaction - is there a guide?
Not too shy to talk
Not too shy to talk


See User information
I know Reaction is ClassAct and is largely compatible but is there any guide anywhere for developers explaining how to update to Reaction apart from just changing classact.h to reaction.h ?

Go to top
Re: Porting ClassAct to Reaction - is there a guide?
Amigans Defender
Amigans Defender


See User information
@NinjaCyborg

Well, a couple of things have changed since ClassAct times. One of my articles does not provide a comparison of the two toolkits, but it may still give you some useful hints.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top
Re: Porting ClassAct to Reaction - is there a guide?
Just can't stay away
Just can't stay away


See User information

Go to top
Re: Porting ClassAct to Reaction - is there a guide?
Not too shy to talk
Not too shy to talk


See User information
Thanks. Does it boil down to::


- change all CA_ functions to RA_
- link to reaction.lib not classact.lib
- change all CLASSACT_ enums to REACTION_

did any gadgets change name or get deprecated?

Go to top
Re: Porting ClassAct to Reaction - is there a guide?
Amigans Defender
Amigans Defender


See User information
@NinjaCyborg

Quote:
change all CA_ functions to RA_

Technically these are macros, and they wrap around respective IDoMethod() calls that invoke the classes' methods. I personally prefer to call the methods directly.

Quote:
link to reaction.lib not classact.lib

No, reaction.lib is no longer used! Most of its functions have been incorporated in the relevant classes.

Quote:
change all CLASSACT_ enums to REACTION_

Not sure what enums you mean, but possibly yes.

One other difference is that you don't need to call the various _GetClass() functions to obtain the class pointer.

I suggest you do read the docs linked above, it will get you on track.

The Rear Window blog

AmigaOne X5000 @ 2GHz / 4GB RAM / Radeon RX 560 / ESI Juli@ / AmigaOS 4.1 Final Edition
SAM440ep-flex @ 667MHz / 1GB RAM / Radeon 9250 / AmigaOS 4.1 Final Edition
Go to top

  Register To Post

 




Currently Active Users Viewing This Thread: 1 ( 0 members and 1 Anonymous Users )




Powered by XOOPS 2.0 © 2001-2024 The XOOPS Project