29 May 2005 12:26
Livido latest updates
salsaman <salsaman <at> xs4all.nl>
2005-05-29 10:26:20 GMT
2005-05-29 10:26:20 GMT
Hi,
here is an update on the latest state of livido, which we hope is now
approaching a 1.0 proposal. This follows a meeting between Niels,
Jaromil and I at ASCII in late April.
We decided on a hybrid approach, at the highest level (classes, channels
and frames), we will keep as at present, structs with fields. For
parameters we decided on a more gObject type approach - parameters are
now simply bundles of properties. These properties will be specified per
type ("type" is also a property)., e.g. for a numerical type parameter,
the mandatory properties might be "type", "name", "value", "min", "max",
"decimals", etc. There can also be optional properties (e.g. "page_size").
Properties will be stored in a linked list, and the key will be a
string. The actual linked list implementation can be implemented by the
host, although the livido support library should supply a default linked
list handler.
We decided on a 3 level approach: a data level, a single-value/array
level, and the actual property. There will be get/set stub functions
which will call the linked list implementation. Returned/stored values
will be void * with a length field (the data level), and will be copied
on a get/set.
Perhaps one of the others, Niels or Jaromil can give more information, I
need to look again at the latest livido.h before posting more technical
details.
Regards,
Gabriel.
(Continue reading)
RSS Feed