Hi Romain,
First you should include dependency into your kits.xml
like this
<depend on="func 1.2+" />
And then you may call any function from that in your sedona kit.
If you want to use instance of any class inherited from Component class,
then you need in your class include inline instance.
inline Cmpr cmp;
Because now Sedona Virtual Machine doesn't call methods of inline cmp
member, you have to do this by yourself in sedona code.
virtual override void loaded()
{
cmp.loaded()
...
}
virtual override void start()
{
cmp.start()
...
}
virtual override void execute()
{
cmp.execute()
...
}
virtual override void stop()
{
cmp.stop()
...
}
--
Best regards,
Andrey Skvortsov