iproject API

Andreas Pakulat apaku at gmx.de
Mon Jul 28 05:33:29 UTC 2008


On 28.07.08 03:07:36, Evgeniy Ivanov wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Aleix wrote:
> > Hi,
> > I was looking at the KDevelop::IProject class and I find some things strange:
> > 
> > - virtual IPlugin* versionControlPlugin() const:
> > Is it being used at all? If we have this, why do we have all this mess
> > of items when right-clicking on an item in the project model view?
> 
> Andreas and I were talking about using versionControlPlugin() instead of
> checking every time what we have in the project. I will have a look on
> what can be done.
> The mess of items is the ability to plug any other VCS system, actually
> they do nothing (only checking if they should provide items to VS menu)
> But I agree it's better to move all VCS items not used to any other place.

Yeah, ideally the "Version Control" entry wouldn't be populated by the
plugins, but I still dunno about the right place where this should be
put.

Andreas

-- 
You'll wish that you had done some of the hard things when they were easier
to do.




More information about the KDevelop-devel mailing list