[KDev4] vcs integration

Alexander Dymo dymo at ukrpost.ua
Mon Mar 26 19:51:15 UTC 2007


On Monday 26 March 2007 22:30, Andreas Pakulat wrote:
> On 26.03.07 10:16:49, dukju ahn wrote:
> > > This is also the only way to connect filemanger and vcs-plugin, i.e.
> > > IFileManager::fileAdded(ProjectBaseItem*) signal should be connected to
> > > VCS::addFile(ProjectBaseItem*) slot (this means pretty much all API
> > > needs to be a slot).
> >
> > It is dangerous if filemanager/projectmanager are directly linked to VCS.

Direct linking? Why? Isn't the project stuff in separate lib/project?
Don't we use extension interface?

I mean we can easily have both addFile(ProjectBaseItem*) and
addFile(KUrl::List&).
The IVersionControl interface would just use forward declaration for
ProjectBaseItem and VCS plugin would link to libkdevplatformproject.
That's not the problem IMHO.




More information about the KDevelop-devel mailing list