[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    External Filter Processes
From:       Werner Trobin <trobin () kde ! org>
Date:       2001-04-26 18:51:27
[Download RAW message or body]

Hi!

Due to demand from some well known artist I quickly wrote
a kind of wrapper program which invokes a filter as a
separate process. This way the parent process should stay
alive even if the filter crashes.
There are still several "issues" to address, but I committed
it anyway as it doesn't influence plain filter usage.
Right now I only messed with importing, and I'm not sure if
it's worth supporting exporting because it adds even more
uglyness to the code and I think there's no real need for that
one as exporting filters are more stable IMHO.

The reason I'm not using DCOP (yet) but commandline args and
stdout to communicate was that I didn't want create all the
KDE magic in the beginning. Well, I noticed that I need an
instance to query the filter and a QApp to have QFont for the
filters... so, maybe this will change soon. Another issue is
that I'm using enter_loop() and friends. This means this
feature should not be used in "release-filters" at all. If you
think this is a feature you'd like to have I'd have to fix
that....and I'm not sure how that would be best.

This wrapper can only be used by the "Implemented=file" filters
(you simply have to replace "file" with "bulletproof" in the
.desktop file :)

Ciao, 
Werner

-- 
Werner Trobin - trobin@kde.org
_______________________________________________
Koffice-devel mailing list
Koffice-devel@master.kde.org
http://master.kde.org/mailman/listinfo/koffice-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic