Reaction: Required classes

This forum is for general developer support questions.
Post Reply
User avatar
gazelle
Posts: 102
Joined: Sun Mar 04, 2012 12:49 pm
Location: Frohnleiten, Austria

Reaction: Required classes

Post by gazelle »

Do I need to open required classes of a class I want to use by myself?

Example:
The "clicktab.gadget" autodocs mentions "REQUIRES chooser.gadget". Do I have to open the "chooser.gadget" myself or will this be handled internally by the "clicktab.gadget"? The docs are not clear in that (or i didn't find it).
User avatar
trixie
Posts: 411
Joined: Thu Jun 30, 2011 3:54 pm
Location: Czech Republic

Re: Reaction: Required classes

Post by trixie »

The "clicktab.gadget" autodocs mentions "REQUIRES chooser.gadget". Do I have to open the "chooser.gadget" myself or will this be handled internally by the "clicktab.gadget"?
Normally, all dependencies are handled internally unless the particular class is badly written. "REQUIRES" means that the respective dependency must be present in the system.
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
User avatar
gazelle
Posts: 102
Joined: Sun Mar 04, 2012 12:49 pm
Location: Frohnleiten, Austria

Re: Reaction: Required classes

Post by gazelle »

trixie wrote:Normally, all dependencies are handled internally [...]
Ok, thanks. I was hoping for that answer because I'm about to use the "getcolor.gadget" which does have a long required list.
Post Reply