RFC: scripting support changes

Aaron J. Seigo aseigo at kde.org
Wed Jan 23 01:28:25 CET 2008


hi all..

attached is a patch that implements a number of changes to ScriptEngine. i'm 
posting it for comments here.

what it does is this:

* introduces three load*Script methods to the Plasma namespace, one for each 
of Applet, DataEngine and Runner

* creates a very skeletal (atm) ScriptEngine class from which the actual 
script handlers subclass from. this will allow me to put generic Package 
support in at the ScriptEngine class level so all engines can share such 
support

* takes all the bits and bobbles from the old ScriptEngine related to Applet 
and puts it into an AppletScript class. it gets handed the applet 
immediately, so this is good.

* adds stub classes for DataEngineScript and RunnerScript

it builds and should in theory work ;) but before i go further i'd like 
comments and an early peer review as the patch is already a bit large.

http://bddf.ca/~aseigo/scriptengine_plurality.diff

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080122/7bc2391e/attachment.pgp 


More information about the Panel-devel mailing list