[Qt-creator] RunMode in Analyzer plugin

Nicolas Arnaud-Cormos nicolas.arnaud-cormos at kdab.com
Fri Jan 13 22:14:03 CET 2012


Hi,

Since commit a6ff74c0, the run mode changes from a string to an enum.
Unfortunatelly, it means there's no way to add a new mode (except by changing 
the code): no way to create any new analyzer 3rd party plugin.

I see two possible solutions:
 * revert the commit
 * use int instead of the enum in the different methods, and add a UserMode in 
the enum

What's wrong with the string? we can use a QByteArray in this case.

Cheers,
Nicolas

-- 
Nicolas Arnaud-Cormos | nicolas.arnaud-cormos at kdab.com | Senior Software 
Engineer
KDAB (France) S.A.S., a KDAB Group company
Tel. France +33 (0)4 90 84 08 53, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solutions



More information about the Qt-creator mailing list