[Kst] RE: Kst - parameter lists and events

George Staikos staikos at kde.org
Sat Jul 17 00:03:19 CEST 2004


On Friday 16 July 2004 15:49, Andrew Walker wrote:
> Right, I think we're now almost on the same page.
>
> I would rather put the parameter name information in the
> code as for some of the fits the number of parameters
> is variable, and it is easier to handle this in code
> rather than xml. Also, if we use the code we can (maybe)
> later add translation.
>
> Unless I hear any other complaints I'll assume everyone is
> happy with this and start coding it up.

  If we put it in the code instead of the XML, then we have diverged 
significantly far enough away from the original plugin spec that we might as 
well come up with our own system.  All previous decisions on adding things to 
the plugins were made based on the rule that the code interface had to be 
generic C that followed exactly the spec provided and didn't add more to it.  
In XML it's OK to add more because the XML parsers should ignore what they 
don't understand.  The idea is that these guys could just take plugins that 
they already had and point Kst at them - no recompiles, no changes.

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/



More information about the Kst mailing list