From kde-core-devel Thu Dec 09 06:55:10 1999 From: Antonio Larrosa Date: Thu, 09 Dec 1999 06:55:10 +0000 To: kde-core-devel Subject: Re: dcop interfaces, standard ? X-MARC-Message: https://marc.info/?l=kde-core-devel&m=94472278815864 Waldo Bastian wrote: > > On Tue, 07 Dec 1999, Antonio Larrosa wrote: > > Another problem is the name of the DCOPObject that receives the DCOP calls, I > > suppose there should be also an standard on this. > > Yes. We need the service/servicetype/trader stuff for this. So that you > can say something like: Give me an application who can play midi's and > supports interface "XYZ". > Exactly. > > Also, is there any _simple_ way to know which apps are installed on the system > > that implement a given interface or a superset of it ? ( "superset" = "which > > includes the given one as a subset" :) ) > > I suppose KTrader in kio has something to do with it, but it doesn't have any > > docs, so it seems it's just for specific uses. > > See above. Torben is Mr. Trader. I am sure he has a good solution for > this. > Great :-) > > A good start would be to write IFace files for a broad range of > applications. E.g. MidiPlayerIFace, GraphicViewerIFace, > GrpahicEditorIFace, TextEditorIFace. With perhaps two superclasses like > "MimetypeViewerIFace" and "MimetypeEditorIFace". All the viewers and > players would inherit from MimetypeViewerIFace and all the editors > would inherit from MimetypeEditorIFace. > Someone volunteers ? :-) > That allows you to start a program for a certain mimetype even if you > have no clue what the mimetype is about or without knowing whether > there is a special IFace for that mimetype. > Exactly, finally, someone got what I was trying to say :-) Greetings, -- Antonio Larrosa antlarr@arrakis.es larrosa@kde.org http://www.arrakis.es/~rlarrosa Klein bottles for rent -- inquire within.