[KDev4] vcs integration

Matt Rogers mattr at kde.org
Tue Mar 27 17:06:39 UTC 2007


On Mar 26, 2007, at 2:51 PM, Alexander Dymo wrote:

> 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?
>

not library linking. Linking with signals.

> 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.
>

Agreed, we should provide both versions of the API
--
Matt






More information about the KDevelop-devel mailing list