[patch] KIO::Slave changes and new KIO::DataSlave/KIO::DataProtocol
Leo Savernik
l.savernik at aon.at
Thu Feb 6 13:00:35 GMT 2003
Hello,
This patch contains all changes to be made to KIO::Slave and associated
classes
to support in-process processing of data urls without the overhead of process
launching.
Changes comprise of:
Makefile.am:
* compile added files
job.cpp:
scheduler.cpp:
* replaced all calls to slave->connection()->send/suspend/resume with
slave->send/suspend/resume
slave.cpp:
slave.h:
* added method send(cmd,data)
* added virtual_hook structures
* modified methods to respect virtual_hook if derived from slave
* added a new constructor which derived classes must use
* added a flag which marks a slave instance to be a base class (d->derived)
* made factory methods take into account the special protocols (for now
there is only "data")
* fixed some typos
dataprotocol.cpp:
dataprotocol.h:
* these are new, they handle the core data protocol functionality
dataslave.cpp:
dataslave.h:
* these are new, serving as an adapter between Slave and DataProtocol
Sorry for the big patch. I wanted to split it up into smaller parts first but
all the changes are interdependant in such a way that a proper compilation is
not possible if any parts are missing.
See patch:
http://bugs.kde.org/attachment.cgi?id=894&action=view
The above patch is meant for review, I'll clean it up a bit before comitting.
mfg
Leo
More information about the kfm-devel
mailing list