[gmpi] Re: 3.11 Parameters


> -----Original Message-----
> From: Tim Hockin [mailto:thockin@xxxxxxxxxx]
> Sent: 31 March 2004 05:01
> To: gmpi@xxxxxxxxxxxxx
> Subject: [gmpi] Re: 3.11 Parameters
> 
> On Tue, Mar 30, 2004 at 08:13:10PM -0700, Mike Berry wrote:
> > Req 50: Why do we need boolean separate from integer? Can't bool just be
> > int with a range of 0 to 1?
> 
> As long as we differentiate an intended boolean value (ie, a button) from
> any other integer, I'd say that is fine.  The actual implementation of
> parameters may have "hints", in which case an int primitive with a bool
> hint
> is sufficient.  All the requirement is is that GMPI provide the type.  NO
> implementation details, yet.  Should I add something like that to the
> "More on.." link?

I agree, the requirements should state that Bools are supported.  I think
its an implementation detail as to the actual type that is used to support
them.  

Andy

----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: