Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2004:
[Freeciv-Dev] Re: (PR#8491) Re: Freeciv commit: kauf: A new connect dial
Home

[Freeciv-Dev] Re: (PR#8491) Re: Freeciv commit: kauf: A new connect dial

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#8491) Re: Freeciv commit: kauf: A new connect dialog for the client. This allo...
From: "Raimar Falke" <i-freeciv-lists@xxxxxxxxxxxxx>
Date: Mon, 12 Apr 2004 07:25:10 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8491 >

On Mon, Apr 12, 2004 at 07:08:25AM -0700, Vasco Alexandre da Silva Costa wrote:
> 
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=8491 >
> 
> > [i-freeciv-lists@xxxxxxxxxxxxx - Mon Apr 12 14:02:18 2004]:
> > 
> > On Mon, Apr 12, 2004 at 06:41:13AM -0700, Mike Kaufman wrote:
> > > > IMHO this should look like:
> > > >
> > > >   SINT32 int_value;
> > > >   SINT32 int_value_default;
> > > >   SINT32 int_value_min;
> > > >   SINT32 int_value_max;
> > > >
> > > >   BOOL bool_value;
> > > >   BOOL bool_value_default;
> > > >
> > > >   STRING string_value[MAX_LEN_PACKET];
> > > >   STRING string_value_default[MAX_LEN_PACKET];
> 
> I also think this is better. Or alternatively structs within structs.
> i.e.:
> 
> struct {
>   struct {
>     SINT32 value;
>     SINT32 default;
>     SINT32 min;
>     SINT32 max;
>   } int;
> 
>   struct {
>     BOOL value;
>     BOOL default;
>   } bool;
> }
> 
> But I doubt the RPC IDL allows it.

It doesn't. Are there enough other cases to do an extension?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
  The Software is not designed or licensed for use in on-line control
  equipment in hazardous environments, such as operation of nuclear
  facilities, aircraft navigation or control, or direct life support
  machines. 
    -- Java Compiler Compiler Download and License Agreement




[Prev in Thread] Current Thread [Next in Thread]