(*** This bug was imported into bugs.kde.org ***) Package: kompare Version: 2.0 (using KDE 3.0.0 ) Severity: wishlist Installed from: Compiled From Sources Compiler: gcc 2.96 (Mandrake 8.1) OS: Linux OS/Compiler notes: Not Specified Although Kompare is implemented as a KPart there is no facility for applications embedding this part to use the compare() method as Kompare's interface is exported as a KReadWrite part (and kompare_part.h is not exported). So openURL() can be used to open a .diff file but two files can't be opened for comparing. This make it unfortunately almost impossible to usefully embed Kompare in another application. (Submitted via bugs.kde.org)
Implemented in the make_it_cool branch in cvs, will be in 3.2 afaict.
As soon as 3.2 is out can you tell me if this is what you wanted ? I know this takes a long time, but you can check the file in cvs in the mean time (kdesdk/kompare/interfaces/kompareinterface.h).
Is this in CVS HEAD? There's no files in the interfaces directory. Did you add & commit it?!
Like i said they are in the make_it_cool branch, cvs update -r make_it_cool in the kdesdk/kompare directory should work. (If you want head back in that repository, just execute cvs update -A again in that directory)
Apologies. I've looked at the interface header in make_it_cool and it looks exactly what I require for KFS. Thanks. I guess it is planned to merge make_it_cool for 3.2?
Yup that is the plan if i think that i have enough time to make everything stable but i think i will :)
Any updates on this subject? To use the (very cool :-) ) komparepart, I copied the kompareinterface.h from the kompare sources to my own project, but I hope that is just temporarily....