From kde-core-devel Fri Oct 26 18:44:42 2001 From: Richard Moore Date: Fri, 26 Oct 2001 18:44:42 +0000 To: kde-core-devel Subject: Re: Extra DCOP features (request for comment/review/any attention from X-MARC-Message: https://marc.info/?l=kde-core-devel&m=100412168617134 This all sounds pretty good, but a little bit too abstract - could you post a few examples are possible with your improvements, but would not have been previously? You could even write a tutorial for the dot... Cheers Rich. ian reinhart geiser wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Okay since we are about a week from the freeze I figured it would be moronic > to ask for a feature in KDElibs without a patch. > > Basicly Simon and I have been going arround on the issue of API duplication > in my DCOP interfaces. We agree it is bad and it is there. The problem was > we lacked a good way to make current DCOP library functions fit well into my > grand vision/delusion of how DCOP should work from the users point of view. > > On IRC today we agreed that DCOPPropertiesProxy was a good way to go, but > there where some limitations that did not allow the interface to be as strait > forward to the user as it could be. The issue is we could process the > commands correctly with DCOPObject::processDynamic but we needed a separate > function to list the properties. This prompted me to add to the DCOPObject > class. > > For consistancy sake I am proposing the addition of > DCOPObject::functionsDynamic() and DCOPObject::interfacesDynamic(). These > would offer both consistancy and flexability to the DCOP object. With the > addition of this we will be able to completely eliminate API duplication for > these interfaces. > > I have tested this patch locallly and nothing breaks during the build process > It does break BC so I would like to apply it yet today. I have yet to test > all of KDE with it, I have only seen that KDE libs builds with it and that > KDE base has yet to show any errors during build. > > Thanks > - -ian reinhart geiser > - -- > ======================================== > Play Rogue, visit exotic locations, meet strange creatures and kill them. > ======================================== > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.0.6 (GNU/Linux) > Comment: For info see http://www.gnupg.org > > iD8DBQE72Xt8Py62TRm8dvgRAvm+AKDqOtFeSt3JH4EBT1cGeG3JHTZyZQCfa7Uq > rw31q/FFB8UIX6LjbNLiRU8= > =vL8Z > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Name: dcop_features.patch > dcop_features.patch Type: text/x-diff > Encoding: base64