continued: Common-VFS proposal

nf nf2 at scheinwelt.at
Thu Jan 27 14:47:16 GMT 2005


On Thu, 2005-01-27 at 12:04 +0100, Hans Meine wrote:
> On Wednesday 26 January 2005 19:48, nf2 wrote:
> > Let's say you want to create a background converter which streams a file
> > from one VFS location to another VFS location.
> 
> Wrong assumption. You just don't do this in Gnome or KDE without a GUI showing 
> the progress. (Trust me, people *will* ask you quite soon for a non-blocking 
> progress GUI with Cancel button.) There you are -> async requirement.

Sure. That's why i said "background converter" and "In Gnome-VFS you
just create a worker thread which opens two streams and loops through
read()->convert Data->write()". You can easily report progress to your
GUI thread, but keep the data-processing in the worker thread.

Cheers,

Norbert 






More information about the kde-core-devel mailing list