Re: Review: Replaced config->getRoleNameByIndex
Malcolm Humphreys <malcolmh...@...>
Replaced config->getRoleNameByIndex() with config->getRoleName()toggle quoted message Show quoted text
- getRoleNameByIndex returned the colorspace name not the role name, also ..ByIndex seemed redundant in the signature.
Added hasRole(role) convenience function
On 19/01/2011, at 11:12 AM, Malcolm Humphreys wrote:
Thanks!Sure that sounds great, i'll fix that.