KDE scripting architecture.
Zack Rusin
zackrat at att.net
Thu Jul 11 20:20:42 BST 2002
On Thursday 11 July 2002 14:31, ian reinhart geiser wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Thursday 11 July 2002 02:23 pm, Zack Rusin wrote:
> > Hi,
>
> [..]
> Hi, please take a look at dcop ;)
> It does exactly what you want to do.
No, not really, that's the point. Now let's say I have a Kopete like app
and want to have a script which writes everything people wrote me while
I was being away to a file and says something to everyone who messaged
me. This would involve hooking up a plugin that would be called when:
a) I'm away,
b) I get a message,
but iff one of these conditions is satisfied. This would involve
connecting handlers within the plugin to the exposed signals.
So within application I would call "Menu->Load Plugin..." the plugin
would be loaded and the right signals connected to the corresponding
handlers within the plugin. With DCOP It's not a problem to write a
script that would write contents of a message to a file and respond to
users, but it's a problem to write a script which would be loaded in
the background during the whole application execution time and do it's
work only if certain signals/prerequisites are satisfied.
Zack
--
"In Murphy We Turst"
More information about the kde-core-devel
mailing list