IProjectFileManager

Matt Rogers mattr at kde.org
Sun Jul 1 20:46:58 UTC 2007


On Jul 1, 2007, at 11:14 AM, Andreas Pakulat wrote:

> On 01.07.07 17:33:18, Jens Herden wrote:
>> Hi,
>>
>> Andras and me found this in IProjectFileManager:
>>
>>     /** Features the file manager supports */
>>     enum Feature
>>     {
>>         None,              ///< This project supports nothing
>>         Folders  = 0x0001, ///< Folders are supported by the project
>>         Targets  = 0x0002, ///< Targets are supported by the project
>>         Files    = 0x0003 ///< Files are supported by the project
>>     };
>>     Q_DECLARE_FLAGS( Features, Feature )
>>
>> We think that Files shoud be 4 and not 3? And None = 0 ?
>
> Right.
>

and s/project/manager while you're in there please.

>> We also don't understand where you can get the current flags from.  
>> We can not
>> find a method in IProjectFileManager to retrieve the flags.  
>> Although in
>> genericmanager.h a comment suggests that features() is part of the  
>> interface
>> in IProjectFileManager.
>
> Please add it, seems like either it was never added or got lost
> sometime.
>
> Andreas

It was lost when we moved to interfaces.
--
Matt






More information about the KDevelop-devel mailing list