[PATCH] Multi-Protocol IO-Slave

nf2 nf2 at scheinwelt.at
Thu Jan 10 00:51:33 GMT 2008


This patch extends the KProtocolInfo system to accept a special 
Multi-Protocol IO-Slave:

1) All calls for protocols not known to KIO are passed to the 
Multi-Protocol IO-Slave (protocol = "*").

2) Additionally, the "OverrulesProtocols=" parameter allowes to delegate 
certain (already registered) protocols to the Multi-Protocol IO-Slave.

[Protocol]
exec=kio_multislave
protocol=*
OverrulesProtocols=smb,sftp,remote
[...]


This patch has no effect on the behavior of KIO unless a Multi-Protocol 
IO-Slave .protocol file is installed. The aim of this patch is to allow 
to develop and test bridging into a cross-desktop network-transparency 
library without having to recompile or repackage kdelibs/kdebase 
(without having to remove .protocol files of the original IO slaves).

Norbert






-------------- next part --------------
A non-text attachment was scrubbed...
Name: kio_multiprotocol_slave.patch
Type: text/x-patch
Size: 5578 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080110/983b5ba5/attachment.bin>


More information about the kde-core-devel mailing list