[lcdproc] Hashes to Hashes and config file to config file.
Joris Robijn
joris@robijn.net
Mon, 26 Mar 2001 19:58:53 +0200
> > If I remember the way v0.4 work, we have an init function for the
> > driver and the driver get something like a string (that need to be
> > parsed). Maybe we could have a (argv,argc) kind of argument (list of
> > string). Each of those string would be in the format "xxx=yyy".
This way we can use the same format for command line, config file and
widget language. Cool.
> (ok not all but most) and pass these to the driver.
Or read and store the values, and let the drivers request them by key.
Better encapsulation. The example that I used a short while back was:
value = get_parameter_int( "key", defaultvalue );
Joris
--
Joris Robijn <joris@robijn.net>
Home: 053 4311 553
Mobile: 06 288 41 964
// To understand recursion, we must first understand recursion
-----------------------------------------------------------
To unsubscribe from this list send a blank message to
lcdproc-unsubscribe@lists.omnipotent.net