[Kst] Plugin local data

George Staikos staikos at kde.org
Thu Feb 5 07:12:10 CET 2004


   I implemented the interface for plugin local data, but I'm wondering what 
your preferences are with respect to this.  Here is how it works:

- in the XML file, add a node <localdata/> to specify that you want the 
pointer
- your function must now take a parameter at the end "void**".  If you don't 
specify the localdata node, you MUST NOT add the new parameter.

Now my question for everyone is, do you prefer to have one such pointer for 
each instance of the plugin (total=n for n plugins), or one such pointer for 
ALL instances of the plugin (total=1)?

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



More information about the Kst mailing list