binary incompatible thursday. whoops =(

Aaron J. Seigo aseigo at kde.org
Fri Jan 25 17:33:06 CET 2008


On Friday 25 January 2008, Petri Damstén wrote:
> On Friday 25 January 2008 02:05:44 Aaron J. Seigo wrote:
> > the good news is that the start of the new scripting stuff is in. thanks
> > to those who offered input ... still work to be done on them, but we've
> > got a start.
>
> I could start working on this on Monday if no one else is working on it.

cool =) please feel free to do so.

> One thing I noticed is that lots of functions in DataEngine are protected
> (setData etc.) but they should be accessible from DataEngineScript?

yes. they are protected because the engine itself is the only object that 
should be able to call them ... it sets the internal state of the engine.

the DataEngineScript should offer hooks from the DataEngine API into the 
script:

* init
* sourceRequested
* updateSource

and the script should have access to the various set* methods (update 
interval, data, etc)

the easiest way to go about this is probably to make DataEngineScript a friend 
class.

DataEngineScript could also be a DataEngine, but then we couldn't go 
the "DataEngine hides the script internally" as we do with Applet. i'd prefer 
to go the latter route both for consistency as well as because i think it 
offers greater flexibility down the road.

so.. friend class it is? =)

-- 
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: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080125/32669ced/attachment.pgp 


More information about the Panel-devel mailing list