From: Michael R. <re...@eu...> - 2004-01-08 05:35:03
|
Hi development team, this is the first post to lcd4linux-devel. Hope you all arrived here. Just if you forgot, a CC'ed lcd4linux-users, too. I wanted to let you know that I just extended the config file parser, so that "groups" are possible. the syntax is: same as ever: key "value" new: group anyname { subkey "subvalue" } or even: Layout "LargeScreen" { Display "TheBigOne" { Port "/dev/tts/0" Speed 2400 } } The values are accessed like this: "key" returns "value" as ever "group:anyname.subkey" returns "subvalue" "Layout:LargeScreen.Display:TheBigOne.Port" returns "/dev/tts/0" You see, the ':' connects the two group specifiers, and the '.' connects sub-keys and/or sub-groups This will bee needed for the new "widgets" which are next on my ToDo-List. bye, Michael -- Michael Reinelt Tel: +43 676 3079941 Geisslergasse 4 Fax: +43 316 692343 A-8045 Graz, Austria e-mail: re...@eu... |