Using the KomparePart in KDevelop
David Nolden
david.nolden.kdevelop at art-master.de
Thu Jul 23 12:38:02 UTC 2009
Am Dienstag 21 Juli 2009 23:49:23 schrieb Killerfox:
> >Well, feel free to write one (it should be fairly easy) and also to export
> >all the interfaces you need from the KomparePart (as long as you don't
> > remove or change APIs, you can just commit what you need, exporting or
> > adding APIs as you need; if you want to change some API, please ask here
> > first).
>
> After all I decided not to make a FindKompare.cmake, as a simple find_path
> works now. I developed a patch to compare a source file with a supplied
> string destination. Please review, specially the changes of replacing
> KompareModelList::compareFiles && KompareModelList::compareDirs with
> KompareModelList::compare(Kompare::Mode), and the addition of
> KomparePart::compareAndUpdateAll.
>
> Since it contains a few API changes I am asking for feedback here first. I
> can implement the other way around(string source -> file destination)
> pretty easy later on.
I guess komparepart needs some API binary compatibility, and your changes are
unfortunately not binary compatible at all.
Greetings, David
More information about the Kompare-devel
mailing list