Re: Change in the unittype and linktype interface

Georg Seidel <[email protected]>
Newsgroups gmane.comp.video.gephex.devel
Message-ID <[email protected]>
Here comes another change: the UnitFactory::init and LinkFactory::init 
functions now
take one additional argument,  their own name.
To be precise, they expect the name and major version separated by a ":".
(Example: "RandomUnitFactory:1")

> ~     interface UnitFactory
> ~     {
> ~       init(in const ptr char name, in Logger)  : constructor;
> ~       
> deinit()                                                        : 
> destructor;
>
> ~       ptr char get_spec()                                    : const 
> method;
>
> ~       ptr char get_port_spec(in int index)      : const method;
>
> ~       Unit create()                                               : 
> method;
> ~     }


Reason for the change: to give the freeframe plugin the possibility to 
detect which freeframe shared library
is associated with a UnitFactory.


Georg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.