On Fri, Mar 05, 2004 at 01:11:29PM +0100, Alfons Adriaensen wrote:
And all it takes is just one hint bit saying that the
port is enumerated.
The strings themselves are placed in the portnames array, after all the
portnames, so no new fields are required. The existing range hints will
tell the host how many there are for a port that has the ENUM hint bit set
(i.e. max - min + 1). Perfectly backward compatible, and simple.
I dont think thats very clean myself, and how do you represent the numbers
that go with the labels?
eg. gate(1410) has -1.0 -> "key listen", 0.0 -> "gate", 1.0
-> "bypass"
and you might reasonably want non integer values for enumerations.
- Steve